Index: src/effects/SkDisplacementMapEffect.cpp |
diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp |
index 5e9a1a393be6a9221922f5d01f6ce5c5e3446ed2..2e6a2c872e5279817cfd3bfbc45b59bb5b0550b8 100644 |
--- a/src/effects/SkDisplacementMapEffect.cpp |
+++ b/src/effects/SkDisplacementMapEffect.cpp |
@@ -352,7 +352,7 @@ public: |
static const char* Name() { return "DisplacementMap"; } |
private: |
- virtual bool onIsEqual(const GrProcessor&) const SK_OVERRIDE; |
+ virtual bool onIsEqual(const GrFragmentProcessor&) const SK_OVERRIDE; |
virtual void onComputeInvariantOutput(InvariantOutput* inout) const SK_OVERRIDE; |
@@ -479,7 +479,7 @@ GrDisplacementMapEffect::GrDisplacementMapEffect( |
GrDisplacementMapEffect::~GrDisplacementMapEffect() { |
} |
-bool GrDisplacementMapEffect::onIsEqual(const GrProcessor& sBase) const { |
+bool GrDisplacementMapEffect::onIsEqual(const GrFragmentProcessor& sBase) const { |
const GrDisplacementMapEffect& s = sBase.cast<GrDisplacementMapEffect>(); |
return fDisplacementAccess.getTexture() == s.fDisplacementAccess.getTexture() && |
fColorAccess.getTexture() == s.fColorAccess.getTexture() && |