Index: src/core/SkRecorder.cpp |
diff --git a/src/core/SkRecorder.cpp b/src/core/SkRecorder.cpp |
index 19d60d5bf840d54929fe47ab425a40c35baec052..6b3eac9866728fdbf4e7bcc0a96b37809f275001 100644 |
--- a/src/core/SkRecorder.cpp |
+++ b/src/core/SkRecorder.cpp |
@@ -186,8 +186,8 @@ void SkRecorder::onDrawTextOnPath(const void* text, size_t byteLength, const SkP |
this->copy(matrix)); |
} |
-void SkRecorder::onDrawPicture(const SkPicture* picture) { |
- APPEND(DrawPicture, picture); |
+void SkRecorder::onDrawPicture(const SkPicture* pic, const SkMatrix* matrix, const SkPaint* paint) { |
+ APPEND(DrawPicture, this->copy(paint), pic, this->copy(matrix)); |
} |
void SkRecorder::drawVertices(VertexMode vmode, |