DescriptionFunctions that return non-const internal data should not be const
as it provides a loophole around const.
I've removed const from platform_canvas() and sk_canvas(), if
anyone tries to access these from a const instance of Canvas, it
won't compile.
Committed: https://crrev.com/788debf1d9ccd4387c68fd6d6294fa4c1392bba6
Cr-Commit-Position: refs/heads/master@{#295104}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|