Index: src/effects/SkLumaColorFilter.cpp |
diff --git a/src/effects/SkLumaColorFilter.cpp b/src/effects/SkLumaColorFilter.cpp |
index 107331a37a0c75aac2961a70fd5d5c3be81e221a..7f6dd1b551fe93c31ab144974261af6094b967e5 100644 |
--- a/src/effects/SkLumaColorFilter.cpp |
+++ b/src/effects/SkLumaColorFilter.cpp |
@@ -61,9 +61,9 @@ public: |
const char* name() const override { return "Luminance-to-Alpha"; } |
- class GLProcessor : public GrGLSLFragmentProcessor { |
+ class GLSLProcessor : public GrGLSLFragmentProcessor { |
public: |
- GLProcessor(const GrProcessor&) {} |
+ GLSLProcessor(const GrProcessor&) {} |
static void GenKey(const GrProcessor&, const GrGLSLCaps&, GrProcessorKeyBuilder* b) {} |
@@ -92,11 +92,13 @@ private: |
this->initClassID<LumaColorFilterEffect>(); |
} |
- GrGLSLFragmentProcessor* onCreateGLInstance() const override { return new GLProcessor(*this); } |
+ GrGLSLFragmentProcessor* onCreateGLSLInstance() const override { |
+ return new GLSLProcessor(*this); |
+ } |
- virtual void onGetGLProcessorKey(const GrGLSLCaps& caps, |
- GrProcessorKeyBuilder* b) const override { |
- GLProcessor::GenKey(*this, caps, b); |
+ virtual void onGetGLSLProcessorKey(const GrGLSLCaps& caps, |
+ GrProcessorKeyBuilder* b) const override { |
+ GLSLProcessor::GenKey(*this, caps, b); |
} |
bool onIsEqual(const GrFragmentProcessor&) const override { return true; } |