Index: Source/platform/graphics/LoggingCanvas.cpp |
diff --git a/Source/platform/graphics/LoggingCanvas.cpp b/Source/platform/graphics/LoggingCanvas.cpp |
index 511d4b58c0fa4649ca6c7c7ee0cbd044d81ee655..c8f1fe962617e3e1bebb54f28f8780a5180d6384 100644 |
--- a/Source/platform/graphics/LoggingCanvas.cpp |
+++ b/Source/platform/graphics/LoggingCanvas.cpp |
@@ -355,6 +355,13 @@ void LoggingCanvas::onDrawPicture(const SkPicture* picture) |
this->SkCanvas::onDrawPicture(picture); |
} |
+void LoggingCanvas::onDrawPicture(const SkPicture* picture, const SkMatrix* matrix, const SkPaint* paint) |
+{ |
+ AutoLogger logger(this); |
+ logger.logItemWithParams("drawPicture")->setObject("picture", objectForSkPicture(*picture)); |
+ this->SkCanvas::onDrawPicture(picture, matrix, paint); |
+} |
+ |
void LoggingCanvas::didSetMatrix(const SkMatrix& matrix) |
{ |
AutoLogger logger(this); |