Index: src/record/SkRecorder.cpp |
diff --git a/src/record/SkRecorder.cpp b/src/record/SkRecorder.cpp |
index 74101c1beddaee218da09466641a2c8239cc8f8a..8581257c4aebc67f1634fe8c188f0ee25b318db5 100644 |
--- a/src/record/SkRecorder.cpp |
+++ b/src/record/SkRecorder.cpp |
@@ -186,8 +186,8 @@ void SkRecorder::onDrawTextOnPath(const void* text, size_t byteLength, const SkP |
this->copy(matrix)); |
} |
-void SkRecorder::drawPicture(SkPicture& picture) { |
- picture.draw(this); |
+void SkRecorder::onDrawPicture(const SkPicture* picture) { |
+ picture->draw(this); |
} |
void SkRecorder::drawVertices(VertexMode vmode, |