Index: src/effects/SkLightingImageFilter.cpp |
diff --git a/src/effects/SkLightingImageFilter.cpp b/src/effects/SkLightingImageFilter.cpp |
index 0e063d95c818b1b59b410741385c0838b53189e1..24bfbbd56ef05f3a2393d371b13dc437c6755a9e 100644 |
--- a/src/effects/SkLightingImageFilter.cpp |
+++ b/src/effects/SkLightingImageFilter.cpp |
@@ -1304,8 +1304,7 @@ GrLightingEffect::~GrLightingEffect() { |
bool GrLightingEffect::onIsEqual(const GrFragmentProcessor& sBase) const { |
const GrLightingEffect& s = sBase.cast<GrLightingEffect>(); |
- return this->texture(0) == s.texture(0) && |
- fLight->isEqual(*s.fLight) && |
+ return fLight->isEqual(*s.fLight) && |
fSurfaceScale == s.fSurfaceScale; |
} |