Index: src/effects/SkTableColorFilter.cpp |
diff --git a/src/effects/SkTableColorFilter.cpp b/src/effects/SkTableColorFilter.cpp |
index 1da6c554d5d643a4659800744fe37fa7463d1747..27ed345587beda6fcb5dff23372da546d5f42811 100644 |
--- a/src/effects/SkTableColorFilter.cpp |
+++ b/src/effects/SkTableColorFilter.cpp |
@@ -297,7 +297,7 @@ public: |
typedef GLColorTableEffect GLProcessor; |
private: |
- virtual bool onIsEqual(const GrFragmentProcessor&) const SK_OVERRIDE; |
+ virtual bool onIsEqual(const GrFragmentProcessor&) const SK_OVERRIDE{ return true; } |
virtual void onComputeInvariantOutput(InvariantOutput* inout) const SK_OVERRIDE; |
@@ -397,10 +397,6 @@ const GrBackendFragmentProcessorFactory& ColorTableEffect::getFactory() const { |
return GrTBackendFragmentProcessorFactory<ColorTableEffect>::getInstance(); |
} |
-bool ColorTableEffect::onIsEqual(const GrFragmentProcessor& sBase) const { |
- return this->texture(0) == sBase.texture(0); |
-} |
- |
void ColorTableEffect::onComputeInvariantOutput(InvariantOutput* inout) const { |
// If we kept the table in the effect then we could actually run known inputs through the |
// table. |