Functions 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. Review URL: https://codereview.chromium.org/560463004 Cr-Commit-Position: refs/heads/master@{#295104}
Showing
Please register or sign in to comment