| Index: include/core/SkColorFilter.h
|
| diff --git a/include/core/SkColorFilter.h b/include/core/SkColorFilter.h
|
| index 609550f6762409a8d0e9c29e08eb8931faf5fd59..5a23a343a28c66ef2f2018705cc37c0ac3148e27 100644
|
| --- a/include/core/SkColorFilter.h
|
| +++ b/include/core/SkColorFilter.h
|
| @@ -115,6 +115,9 @@ public:
|
| or NULL if the mode will have no effect.
|
| */
|
| static sk_sp<SkColorFilter> MakeModeFilter(SkColor c, SkXfermode::Mode mode);
|
| + static sk_sp<SkColorFilter> MakeModeFilter(SkColor c, SkBlendMode mode) {
|
| + return MakeModeFilter(c, (SkXfermode::Mode)mode);
|
| + }
|
|
|
| /** Construct a colorfilter whose effect is to first apply the inner filter and then apply
|
| * the outer filter to the result of the inner's.
|
|
|