Index: src/core/SkPicturePlayback.cpp |
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp |
index 661115e41a3c67e62f64ced97537dd037f75d573..b4cac52dd45c5cff28c5cf56447ecc4c6905401c 100644 |
--- a/src/core/SkPicturePlayback.cpp |
+++ b/src/core/SkPicturePlayback.cpp |
@@ -186,7 +186,10 @@ void SkPicturePlayback::handleOp(SkReader32* reader, |
const SkBitmap bitmap = shallow_copy(fPictureData->getBitmap(reader)); |
SkMatrix matrix; |
reader->readMatrix(&matrix); |
- canvas->drawBitmapMatrix(bitmap, matrix, paint); |
+ |
+ SkAutoCanvasRestore acr(canvas, true); |
+ canvas->concat(matrix); |
+ canvas->drawBitmap(bitmap, 0, 0, paint); |
} break; |
case DRAW_BITMAP_NINE: { |
const SkPaint* paint = fPictureData->getPaint(reader); |