Index: src/utils/debugger/SkDebugCanvas.cpp |
diff --git a/src/utils/debugger/SkDebugCanvas.cpp b/src/utils/debugger/SkDebugCanvas.cpp |
index 516d58292f0b3301816933cabdc6c377541027dc..228f25f7372b51ca3d3f1c4971dce9e8d6a5b70e 100644 |
--- a/src/utils/debugger/SkDebugCanvas.cpp |
+++ b/src/utils/debugger/SkDebugCanvas.cpp |
@@ -519,9 +519,10 @@ void SkDebugCanvas::drawPath(const SkPath& path, const SkPaint& paint) { |
this->addDrawCommand(new SkDrawPathCommand(path, paint)); |
} |
-void SkDebugCanvas::onDrawPicture(const SkPicture* picture, const SkMatrix*, const SkPaint*) { |
- // todo: add matrix and paint to SkDrawPictureCommand |
- this->addDrawCommand(new SkDrawPictureCommand(picture)); |
+void SkDebugCanvas::onDrawPicture(const SkPicture* picture, |
+ const SkMatrix* matrix, |
+ const SkPaint* paint) { |
+ this->addDrawCommand(new SkDrawPictureCommand(picture, matrix, paint)); |
} |
void SkDebugCanvas::drawPoints(PointMode mode, size_t count, |