Index: src/gpu/effects/GrDistanceFieldTextureEffect.cpp |
diff --git a/src/gpu/effects/GrDistanceFieldTextureEffect.cpp b/src/gpu/effects/GrDistanceFieldTextureEffect.cpp |
index 3374adcdd1bf594c24027b10cde727393432c5ea..406f1b022d0d23c68ef1104c9d7285c49e98ed55 100755 |
--- a/src/gpu/effects/GrDistanceFieldTextureEffect.cpp |
+++ b/src/gpu/effects/GrDistanceFieldTextureEffect.cpp |
@@ -196,7 +196,7 @@ GrDistanceFieldTextureEffect::GrDistanceFieldTextureEffect(GrTexture* texture, |
#endif |
} |
-bool GrDistanceFieldTextureEffect::onIsEqual(const GrProcessor& other) const { |
+bool GrDistanceFieldTextureEffect::onIsEqual(const GrGeometryProcessor& other) const { |
const GrDistanceFieldTextureEffect& cte = other.cast<GrDistanceFieldTextureEffect>(); |
return fTextureAccess == cte.fTextureAccess && |
#ifdef SK_GAMMA_APPLY_TO_A8 |
@@ -379,7 +379,7 @@ GrDistanceFieldNoGammaTextureEffect::GrDistanceFieldNoGammaTextureEffect(GrTextu |
this->addTextureAccess(&fTextureAccess); |
} |
-bool GrDistanceFieldNoGammaTextureEffect::onIsEqual(const GrProcessor& other) const { |
+bool GrDistanceFieldNoGammaTextureEffect::onIsEqual(const GrGeometryProcessor& other) const { |
const GrDistanceFieldNoGammaTextureEffect& cte = |
other.cast<GrDistanceFieldNoGammaTextureEffect>(); |
return fTextureAccess == cte.fTextureAccess && fFlags == cte.fFlags; |
@@ -628,7 +628,7 @@ GrDistanceFieldLCDTextureEffect::GrDistanceFieldLCDTextureEffect( |
this->addTextureAccess(&fGammaTextureAccess); |
} |
-bool GrDistanceFieldLCDTextureEffect::onIsEqual(const GrProcessor& other) const { |
+bool GrDistanceFieldLCDTextureEffect::onIsEqual(const GrGeometryProcessor& other) const { |
const GrDistanceFieldLCDTextureEffect& cte = other.cast<GrDistanceFieldLCDTextureEffect>(); |
return (fTextureAccess == cte.fTextureAccess && |
fGammaTextureAccess == cte.fGammaTextureAccess && |