ui: Use a PaintRecorder to access the Canvas for painting.
Don't use the canvas() from the PaintContext so that we can have the PaintContext be backed by a DisplayItemList instead in the future. Access to the Canvas should be done through a PaintRecorder. R=sadrul BUG=466426 Review URL: https://codereview.chromium.org/1064133003 Cr-Commit-Position: refs/heads/master@{#324137}
Showing
Please register or sign in to comment