Index: src/effects/SkLumaColorFilter.cpp |
diff --git a/src/effects/SkLumaColorFilter.cpp b/src/effects/SkLumaColorFilter.cpp |
index caa2a208d2c77000257dde21c0d7d58be0f5736f..4841e88dd43855bccddf20eb4b1d5c90fb55505d 100644 |
--- a/src/effects/SkLumaColorFilter.cpp |
+++ b/src/effects/SkLumaColorFilter.cpp |
@@ -55,8 +55,8 @@ void SkLumaColorFilter::toString(SkString* str) const { |
class LumaColorFilterEffect : public GrFragmentProcessor { |
public: |
static GrFragmentProcessor* Create() { |
- GR_CREATE_STATIC_PROCESSOR(gLumaEffect, LumaColorFilterEffect, ()); |
- return SkRef(gLumaEffect); |
+ static LumaColorFilterEffect gLumaEffect; |
+ return SkRef(&gLumaEffect); |
} |
const char* name() const override { return "Luminance-to-Alpha"; } |