| Index: include/gpu/effects/GrPorterDuffXferProcessor.h
|
| diff --git a/include/gpu/effects/GrPorterDuffXferProcessor.h b/include/gpu/effects/GrPorterDuffXferProcessor.h
|
| index 8399d5805e0588feb2ed5ffbaf40339f096af03e..6777d76046f4a2b0cc999ca2a56e88a5acb59822 100644
|
| --- a/include/gpu/effects/GrPorterDuffXferProcessor.h
|
| +++ b/include/gpu/effects/GrPorterDuffXferProcessor.h
|
| @@ -17,6 +17,9 @@ class GrProcOptInfo;
|
| class GrPorterDuffXPFactory : public GrXPFactory {
|
| public:
|
| static sk_sp<GrXPFactory> Make(SkXfermode::Mode mode);
|
| + static sk_sp<GrXPFactory> Make(SkBlendMode mode) {
|
| + return Make((SkXfermode::Mode)mode);
|
| + }
|
|
|
| void getInvariantBlendedColor(const GrProcOptInfo& colorPOI,
|
| GrXPFactory::InvariantBlendedColor*) const override;
|
|
|