cc: Return a NullCanvas instead of NULL in context lost situations.
This reduces the difference in code paths between normal usage and context lost situations. Also moves the save()/restore() pair required for GPU raster into the RasterBuffer class so it can be avoided when unnecessary. BUG=406404 Review URL: https://codereview.chromium.org/578843002 Cr-Commit-Position: refs/heads/master@{#295290}
Showing
Please register or sign in to comment