From 8ddbe8b9366c8c59c4fb55f01f253de8a0b37d6e Mon Sep 17 00:00:00 2001 From: joshualitt Date: Tue, 16 Sep 2014 06:46:30 -0700 Subject: removing GrDrawEffect BUG=skia: R=bsalomon@google.com Author: joshualitt@chromium.org Review URL: https://codereview.chromium.org/571163002 --- src/gpu/effects/GrSimpleTextureEffect.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpu/effects/GrSimpleTextureEffect.h') diff --git a/src/gpu/effects/GrSimpleTextureEffect.h b/src/gpu/effects/GrSimpleTextureEffect.h index 49e3d7a843..e81dd86cb2 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(other); + const GrSimpleTextureEffect& ste = other.cast(); return this->hasSameTextureParamsMatrixAndSourceCoords(ste); } -- cgit v1.2.3