Index: ui/gfx/blit.cc |
=================================================================== |
--- ui/gfx/blit.cc (revision 85672) |
+++ ui/gfx/blit.cc (working copy) |
@@ -35,7 +35,7 @@ |
// Now we know the clip is a regular rectangle, make sure it covers the |
// entire canvas. |
- const SkBitmap& bitmap = canvas.getTopPlatformDevice().accessBitmap(false); |
+ const SkBitmap& bitmap = canvas.getTopDevice().accessBitmap(false); |
const SkIRect& clip_bounds = clip_region.getBounds(); |
if (clip_bounds.fLeft != 0 || clip_bounds.fTop != 0 || |
clip_bounds.fRight != bitmap.width() || |
@@ -144,7 +144,7 @@ |
const gfx::Point& amount) { |
DCHECK(!HasClipOrTransform(*canvas)); // Don't support special stuff. |
SkBitmap& bitmap = const_cast<SkBitmap&>( |
- canvas->getTopPlatformDevice().accessBitmap(true)); |
+ canvas->getTopDevice().accessBitmap(true)); |
SkAutoLockPixels lock(bitmap); |
// We expect all coords to be inside the canvas, so clip here. |