Index: src/core/SkPicturePlayback.cpp |
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp |
index 59abe7c1143a406b1bb509cada8da5c1e98fd348..fd359fed8987593ec47401fc77b458e69591ef3e 100644 |
--- a/src/core/SkPicturePlayback.cpp |
+++ b/src/core/SkPicturePlayback.cpp |
@@ -319,6 +319,13 @@ void SkPicturePlayback::handleOp(SkReader32* reader, |
case DRAW_PICTURE: |
canvas->drawPicture(fPictureData->getPicture(reader)); |
break; |
+ case DRAW_PICTURE_MATRIX_PAINT: { |
+ const SkPicture* pic = fPictureData->getPicture(reader); |
+ SkMatrix matrix; |
+ reader->readMatrix(&matrix); |
+ const SkPaint* paint = fPictureData->getPaint(reader); |
+ canvas->drawPicture(pic, &matrix, paint); |
+ } break; |
case DRAW_POINTS: { |
const SkPaint& paint = *fPictureData->getPaint(reader); |
SkCanvas::PointMode mode = (SkCanvas::PointMode)reader->readInt(); |