Index: src/effects/SkMagnifierImageFilter.cpp |
diff --git a/src/effects/SkMagnifierImageFilter.cpp b/src/effects/SkMagnifierImageFilter.cpp |
index 5199ec3e43a9c55dcc3e682af70739955b2c394e..f4940d754c9e36600f70687cdb25b887ccb115e8 100644 |
--- a/src/effects/SkMagnifierImageFilter.cpp |
+++ b/src/effects/SkMagnifierImageFilter.cpp |
@@ -72,7 +72,7 @@ private: |
, fXInvInset(xInvInset) |
, fYInvInset(yInvInset) {} |
- virtual bool onIsEqual(const GrProcessor&) const SK_OVERRIDE; |
+ virtual bool onIsEqual(const GrFragmentProcessor&) const SK_OVERRIDE; |
virtual void onComputeInvariantOutput(InvariantOutput* inout) const SK_OVERRIDE; |
@@ -216,7 +216,7 @@ const GrBackendFragmentProcessorFactory& GrMagnifierEffect::getFactory() const { |
return GrTBackendFragmentProcessorFactory<GrMagnifierEffect>::getInstance(); |
} |
-bool GrMagnifierEffect::onIsEqual(const GrProcessor& sBase) const { |
+bool GrMagnifierEffect::onIsEqual(const GrFragmentProcessor& sBase) const { |
const GrMagnifierEffect& s = sBase.cast<GrMagnifierEffect>(); |
return (this->texture(0) == s.texture(0) && |
this->fXOffset == s.fXOffset && |