Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index 056a4e96d2e0df1802d87424c6149f8f7c93a558..26b76df9beb1515a2b64987bd2c7726c3cdda1f1 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -271,9 +271,7 @@ |
fClip = &((SkRasterClip*)&rec->fClip)->forceGetBW(); |
fRC = &rec->fClip; |
fDevice = rec->fDevice; |
- if (!fDevice->accessPixels(&fDst)) { |
- fDst.reset(fDevice->imageInfo(), NULL, 0); |
- } |
+ fBitmap = &fDevice->accessBitmap(true); |
fPaint = rec->fPaint; |
SkDEBUGCODE(this->validate();) |