Index: src/utils/SkDumpCanvas.cpp |
diff --git a/src/utils/SkDumpCanvas.cpp b/src/utils/SkDumpCanvas.cpp |
index 9814fb5762ecf880e5d783dfc3f734704beaf3ea..4dfed395e0eb1a2a90b0640a96ec234743c67d76 100644 |
--- a/src/utils/SkDumpCanvas.cpp |
+++ b/src/utils/SkDumpCanvas.cpp |
@@ -422,14 +422,14 @@ void SkDumpCanvas::onDrawTextOnPath(const void* text, size_t byteLength, const S |
str.c_str(), byteLength); |
} |
-void SkDumpCanvas::drawPicture(SkPicture& picture) { |
- this->dump(kDrawPicture_Verb, NULL, "drawPicture(%p) %d:%d", &picture, |
- picture.width(), picture.height()); |
+void SkDumpCanvas::onDrawPicture(const SkPicture* picture) { |
+ this->dump(kDrawPicture_Verb, NULL, "drawPicture(%p) %d:%d", picture, |
+ picture->width(), picture->height()); |
fNestLevel += 1; |
- this->INHERITED::drawPicture(picture); |
+ this->INHERITED::onDrawPicture(picture); |
fNestLevel -= 1; |
this->dump(kDrawPicture_Verb, NULL, "endPicture(%p) %d:%d", &picture, |
- picture.width(), picture.height()); |
+ picture->width(), picture->height()); |
} |
void SkDumpCanvas::drawVertices(VertexMode vmode, int vertexCount, |