diff options
author | 2016-01-07 08:15:10 -0800 | |
---|---|---|
committer | 2016-01-07 08:15:10 -0800 | |
commit | 0575cb2def2f4dfdad04e0674d0f8eb8e7c24cec (patch) | |
tree | 9fc4c73da2ed766a9cab0eee77d67d44233b76d1 /include/core/SkCanvas.h | |
parent | 983dc2541a729609037a05eba731b3eb9788c517 (diff) |
Revert of add backdrop option to SaveLayerRec (patchset #14 id:260001 of https://codereview.chromium.org/1523053003/ )
Reason for revert:
serialized != direct, will investigate
Original issue's description:
> add backdrop option to SaveLayerRec
>
> BUG=skia:
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1523053003
>
> Committed: https://skia.googlesource.com/skia/+/247415969a9a5ed6c83cc09395472416c4b7de7f
TBR=robertphillips@google.com,bsalomon@google.com,mtklein@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Review URL: https://codereview.chromium.org/1565203002
Diffstat (limited to 'include/core/SkCanvas.h')
-rw-r--r-- | include/core/SkCanvas.h | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index d1de626315..d046b8ef4c 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -422,27 +422,16 @@ public: typedef uint32_t SaveLayerFlags; struct SaveLayerRec { - SaveLayerRec() - : fBounds(nullptr), fPaint(nullptr), fBackdrop(nullptr), fSaveLayerFlags(0) - {} + SaveLayerRec() : fBounds(nullptr), fPaint(nullptr), fSaveLayerFlags(0) {} SaveLayerRec(const SkRect* bounds, const SkPaint* paint, SaveLayerFlags saveLayerFlags = 0) : fBounds(bounds) , fPaint(paint) - , fBackdrop(nullptr) - , fSaveLayerFlags(saveLayerFlags) - {} - SaveLayerRec(const SkRect* bounds, const SkPaint* paint, const SkImageFilter* backdrop, - SaveLayerFlags saveLayerFlags) - : fBounds(bounds) - , fPaint(paint) - , fBackdrop(backdrop) , fSaveLayerFlags(saveLayerFlags) {} - const SkRect* fBounds; // optional - const SkPaint* fPaint; // optional - const SkImageFilter* fBackdrop; // optional - SaveLayerFlags fSaveLayerFlags; + const SkRect* fBounds; // optional + const SkPaint* fPaint; // optional + SaveLayerFlags fSaveLayerFlags; }; int saveLayer(const SaveLayerRec&); |