Index: src/effects/SkAlphaThresholdFilter.cpp |
diff --git a/src/effects/SkAlphaThresholdFilter.cpp b/src/effects/SkAlphaThresholdFilter.cpp |
index 025a757b798132efff48129a40993ad5dc4a8c3f..10e06babeeebca6a5faf916dc472e5bbb54e5bfc 100644 |
--- a/src/effects/SkAlphaThresholdFilter.cpp |
+++ b/src/effects/SkAlphaThresholdFilter.cpp |
@@ -100,7 +100,7 @@ private: |
this->addTextureAccess(&fMaskTextureAccess); |
} |
- virtual bool onIsEqual(const GrProcessor&) const SK_OVERRIDE; |
+ virtual bool onIsEqual(const GrFragmentProcessor&) const SK_OVERRIDE; |
virtual void onComputeInvariantOutput(InvariantOutput* inout) const SK_OVERRIDE; |
@@ -221,7 +221,7 @@ const GrBackendFragmentProcessorFactory& AlphaThresholdEffect::getFactory() cons |
return GrTBackendFragmentProcessorFactory<AlphaThresholdEffect>::getInstance(); |
} |
-bool AlphaThresholdEffect::onIsEqual(const GrProcessor& sBase) const { |
+bool AlphaThresholdEffect::onIsEqual(const GrFragmentProcessor& sBase) const { |
const AlphaThresholdEffect& s = sBase.cast<AlphaThresholdEffect>(); |
return (this->texture(0) == s.texture(0) && |
this->fInnerThreshold == s.fInnerThreshold && |