Restore legacy SaveLayerRec ctor
Let's not break existing clients. Change-Id: I056fefefb49d46fb284597c5bcf0319470537524 Reviewed-on: https://skia-review.googlesource.com/14829 Reviewed-by: Leon Scroggins <scroggo@google.com> Commit-Queue: Florin Malita <fmalita@chromium.org>
This commit is contained in:
parent
489530e06c
commit
25b37430e6
@ -329,6 +329,13 @@ public:
|
|||||||
, fPaint(paint)
|
, fPaint(paint)
|
||||||
, fSaveLayerFlags(saveLayerFlags)
|
, fSaveLayerFlags(saveLayerFlags)
|
||||||
{}
|
{}
|
||||||
|
SaveLayerRec(const SkRect* bounds, const SkPaint* paint, const SkImageFilter* backdrop,
|
||||||
|
SaveLayerFlags saveLayerFlags)
|
||||||
|
: fBounds(bounds)
|
||||||
|
, fPaint(paint)
|
||||||
|
, fBackdrop(backdrop)
|
||||||
|
, fSaveLayerFlags(saveLayerFlags)
|
||||||
|
{}
|
||||||
SaveLayerRec(const SkRect* bounds, const SkPaint* paint, const SkImageFilter* backdrop,
|
SaveLayerRec(const SkRect* bounds, const SkPaint* paint, const SkImageFilter* backdrop,
|
||||||
sk_sp<SkImage> clipMask, const SkMatrix* clipMatrix,
|
sk_sp<SkImage> clipMask, const SkMatrix* clipMatrix,
|
||||||
SaveLayerFlags saveLayerFlags)
|
SaveLayerFlags saveLayerFlags)
|
||||||
|
Loading…
Reference in New Issue
Block a user