Should be a no-impact refactoring. When we're ready to drop SkCanvas we'll have to rewrite this more heavily (SkImage is immutable, so this'll be a call to SkImage::NewRasterData() or suchlike), but for now it serves to hide SkDevice.
Should be a no-impact refactoring. When we're ready to drop SkCanvas we'll have to rewrite this more heavily (SkImage is immutable, so this'll be a call to SkImage::NewRasterData() or suchlike), but for now it serves to hide SkDevice.

TEST=gfx_unittests
BUG=543755
R=reed@chromium.org,msw@chromium.org

Review URL: https://codereview.chromium.org/1416053009

Cr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#355584}

axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk