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

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

Issue 454993002: preemptive add new virtual for onDrawPicture (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: don't add OVERRIDE for cross-module subclassing Created 6 years, 4 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
« no previous file with comments | « Source/platform/graphics/ReplayingCanvas.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/ReplayingCanvas.cpp
diff --git a/Source/platform/graphics/ReplayingCanvas.cpp b/Source/platform/graphics/ReplayingCanvas.cpp
index ba820f8352c7f312f3908d63c57c0e41d1355487..97c0debe142d1d16e9ae9b5a66b76ebd39fb62f5 100644
--- a/Source/platform/graphics/ReplayingCanvas.cpp
+++ b/Source/platform/graphics/ReplayingCanvas.cpp
@@ -257,6 +257,12 @@ void ReplayingCanvas::onDrawPicture(const SkPicture* picture)
this->SkCanvas::onDrawPicture(picture);
}
+void ReplayingCanvas::onDrawPicture(const SkPicture* picture, const SkMatrix* matrix, const SkPaint* paint)
+{
+ AutoReplayer replayer(this);
+ this->SkCanvas::onDrawPicture(picture, matrix, paint);
+}
+
void ReplayingCanvas::didSetMatrix(const SkMatrix& matrix)
{
AutoReplayer replayer(this);
« no previous file with comments | « Source/platform/graphics/ReplayingCanvas.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698