aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2014-08-10 19:04:01 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-10 19:04:01 -0700
commit47f9bdcc3d741a63935c52bfe85db44ab13f66f2 (patch)
tree078a63927a692cd362a1b21b0d42b3d6e9fd3e31 /include/core
parent2e69d292e5a389db7d9264eb66172376692de8ca (diff)
Revert of remove (now unneeded) legacy onDrawPicture variant (https://codereview.chromium.org/456203002/)
Reason for revert: still need to update ProfilingCanvas in blink Original issue's description: > remove (now unneeded) legacy onDrawPicture variant > > TBR=fmalita@google.com > > Committed: https://skia.googlesource.com/skia/+/2e69d292e5a389db7d9264eb66172376692de8ca TBR= NOTREECHECKS=true NOTRY=true Author: reed@chromium.org Review URL: https://codereview.chromium.org/457253002
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkCanvas.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index 011e3c3a03..791511e768 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -1237,6 +1237,8 @@ protected:
virtual void onDiscard();
+ // temporary, until we can migrate existing overrides in chrome
+ virtual void onDrawPicture(const SkPicture*) {}
virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*);
// Returns the canvas to be used by DrawIter. Default implementation