8c0326df5f
TBR=reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1852123002 Committed: https://skia.googlesource.com/skia/+/3bc969264d4720d67f0b137552b3777a03b431a8 Review URL: https://codereview.chromium.org/1852123002
21 lines
1.1 KiB
Plaintext
21 lines
1.1 KiB
Plaintext
*************** public:
|
|
*** 231,237 ****
|
|
cropRect).release());
|
|
}
|
|
this->addFilter("xfermode", SkXfermodeImageFilter::Make(
|
|
- SkXfermode::Make(SkXfermode::kSrc_Mode), input, input, cropRect).release());
|
|
}
|
|
int count() const { return fFilters.count(); }
|
|
SkImageFilter* getFilter(int index) const { return fFilters[index].fFilter.get(); }
|
|
--- 231,240 ----
|
|
cropRect).release());
|
|
}
|
|
this->addFilter("xfermode", SkXfermodeImageFilter::Make(
|
|
+ SkXfermode::Make(SkXfermode::kSrc_Mode),
|
|
+ sk_ref_sp<SkImageFilter>(input),
|
|
+ sk_ref_sp<SkImageFilter>(input),
|
|
+ cropRect).release());
|
|
}
|
|
int count() const { return fFilters.count(); }
|
|
SkImageFilter* getFilter(int index) const { return fFilters[index].fFilter.get(); }
|