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

Unified Diff: Source/platform/graphics/ProfilingCanvas.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/ProfilingCanvas.h ('k') | Source/platform/graphics/ReplayingCanvas.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/ProfilingCanvas.cpp
diff --git a/Source/platform/graphics/ProfilingCanvas.cpp b/Source/platform/graphics/ProfilingCanvas.cpp
index 9d48c408b5398e53ce690f8657dbbbde7474423d..20db008e25bb129e9979efc1dbfbcfc38d0f7384 100644
--- a/Source/platform/graphics/ProfilingCanvas.cpp
+++ b/Source/platform/graphics/ProfilingCanvas.cpp
@@ -245,6 +245,12 @@ void ProfilingCanvas::onDrawPicture(const SkPicture* picture)
this->SkCanvas::onDrawPicture(picture);
}
+void ProfilingCanvas::onDrawPicture(const SkPicture* picture, const SkMatrix* matrix, const SkPaint* paint)
+{
+ AutoStamper stamper(this);
+ this->SkCanvas::onDrawPicture(picture);
+}
+
void ProfilingCanvas::didSetMatrix(const SkMatrix& matrix)
{
AutoStamper stamper(this);
« no previous file with comments | « Source/platform/graphics/ProfilingCanvas.h ('k') | Source/platform/graphics/ReplayingCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698