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
This commit is contained in:
reed 2014-08-10 19:04:01 -07:00 committed by Commit bot
parent 2e69d292e5
commit 47f9bdcc3d
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -79,6 +79,8 @@ protected:
virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERRIDE;
virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE;
// temporary until we can land and fix chrome
virtual void onDrawPicture(const SkPicture*) SK_OVERRIDE {}
virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) SK_OVERRIDE;
private: