Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Unified Diff: Source/platform/graphics/ReplayingCanvas.cpp

Issue 1183863005: Paint Profiler: unroll SkPictures (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/platform/graphics/ReplayingCanvas.cpp
diff --git a/Source/platform/graphics/ReplayingCanvas.cpp b/Source/platform/graphics/ReplayingCanvas.cpp
index e550fad307c4759dcc6ad549354e0d45d0e07446..a62821cb4b440ca84b562eebbcd4fff97c0b7331 100644
--- a/Source/platform/graphics/ReplayingCanvas.cpp
+++ b/Source/platform/graphics/ReplayingCanvas.cpp
@@ -72,4 +72,9 @@ SkCanvas::SaveLayerStrategy ReplayingCanvas::willSaveLayer(const SkRect* bounds,
return this->InterceptingCanvas<ReplayingCanvas>::willSaveLayer(bounds, paint, flags);
}
+void ReplayingCanvas::onDrawPicture(const SkPicture* picture, const SkMatrix* matrix, const SkPaint* paint)
+{
+ this->unrollDrawPicture(picture, matrix, paint, this);
+}
+
} // namespace blink
« Source/platform/graphics/LoggingCanvas.cpp ('K') | « Source/platform/graphics/ReplayingCanvas.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698