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:
parent
2e69d292e5
commit
47f9bdcc3d
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user