Index: src/gpu/effects/GrConfigConversionEffect.cpp |
diff --git a/src/gpu/effects/GrConfigConversionEffect.cpp b/src/gpu/effects/GrConfigConversionEffect.cpp |
index dec3f9d01adcf40b8341a8d75aaf70967d991b34..290322d8333b0b0f2801224b291425904e07ef4d 100644 |
--- a/src/gpu/effects/GrConfigConversionEffect.cpp |
+++ b/src/gpu/effects/GrConfigConversionEffect.cpp |
@@ -121,8 +121,7 @@ const GrBackendFragmentProcessorFactory& GrConfigConversionEffect::getFactory() |
bool GrConfigConversionEffect::onIsEqual(const GrFragmentProcessor& s) const { |
const GrConfigConversionEffect& other = s.cast<GrConfigConversionEffect>(); |
- return this->texture(0) == s.texture(0) && |
- other.fSwapRedAndBlue == fSwapRedAndBlue && |
+ return other.fSwapRedAndBlue == fSwapRedAndBlue && |
other.fPMConversion == fPMConversion; |
} |