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

Unified Diff: include/core/SkCanvas.h

Issue 457753002: add dummy onDrawPicture to allow migration for chrome overrides (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkCanvas.h
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index f74ebb7f56ff3a93f05efd89b72fdf4e79c4acc5..eef9d9004a4f6f7502ef31b809f4b6746baf0299 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -1224,6 +1224,8 @@ protected:
virtual void onDiscard();
virtual void onDrawPicture(const SkPicture* picture);
+ // temporary, until we can migrate existing overrides in chrome
+ virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) {}
// Returns the canvas to be used by DrawIter. Default implementation
// returns this. Subclasses that encapsulate an indirect canvas may
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698