Fix numerous cases of casting away const
Stop disabling cast-qual, to keep us honest.
I tried to fix these correctly wherever I could. Many were easy. On a
few I had to punt and const_cast, but now those serve as a reminder that
we're doing something fishy -- which is the point of having an explicit
name for that operation.
By far the most sketchy thing here is in SkBlitter.cpp ... two blitters
ignore the const on the aa and runs, then mutate them. I have no idea
how that's safe. :shrug:
Reviewed-by: Ben Wagner <firstname.lastname@example.org>
Commit-Queue: Brian Osman <email@example.com>
64 files changed