Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index bf4e86cafa044c9e438e36ce193088eb617982b2..43d5bc923c40dbcd675296bfaf86a2a53613a57d 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -1259,7 +1259,7 @@ void SkCanvas::internalDrawDevice(SkBaseDevice* srcDev, int x, int y, |
tmpUnfiltered); |
} |
} else if (deviceIsBitmapDevice) { |
- const SkBitmap& src = srcDev->accessBitmap(false); |
+ const SkBitmap& src = static_cast<SkBitmapDevice*>(srcDev)->fBitmap; |
dstDev->drawSprite(iter, src, pos.x(), pos.y(), *paint); |
} else { |
dstDev->drawDevice(iter, srcDev, pos.x(), pos.y(), *paint); |