aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/record/SkRecorder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/record/SkRecorder.cpp')
-rw-r--r--src/record/SkRecorder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/record/SkRecorder.cpp b/src/record/SkRecorder.cpp
index 74101c1bed..8581257c4a 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,