Index: src/gpu/effects/GrSimpleTextureEffect.h |
diff --git a/src/gpu/effects/GrSimpleTextureEffect.h b/src/gpu/effects/GrSimpleTextureEffect.h |
index 49e3d7a843696178b5d5709faae8c8932f67222e..e81dd86cb27ece828ef482ddb9a26ce60bd1141d 100644 |
--- a/src/gpu/effects/GrSimpleTextureEffect.h |
+++ b/src/gpu/effects/GrSimpleTextureEffect.h |
@@ -71,7 +71,7 @@ private: |
} |
virtual bool onIsEqual(const GrEffect& other) const SK_OVERRIDE { |
- const GrSimpleTextureEffect& ste = CastEffect<GrSimpleTextureEffect>(other); |
+ const GrSimpleTextureEffect& ste = other.cast<GrSimpleTextureEffect>(); |
return this->hasSameTextureParamsMatrixAndSourceCoords(ste); |
} |