Index: src/effects/gradients/SkRadialGradient.cpp |
diff --git a/src/effects/gradients/SkRadialGradient.cpp b/src/effects/gradients/SkRadialGradient.cpp |
index 90d945839de55eea7a3c087ce3d855b4a8896803..895dbb99ca5e96f4f5def7e0622289fd9c4c0d2c 100644 |
--- a/src/effects/gradients/SkRadialGradient.cpp |
+++ b/src/effects/gradients/SkRadialGradient.cpp |
@@ -477,19 +477,19 @@ |
public: |
GrGLRadialGradient(const GrBackendEffectFactory& factory, |
- const GrEffect&) : INHERITED (factory) { } |
+ const GrDrawEffect&) : INHERITED (factory) { } |
virtual ~GrGLRadialGradient() { } |
virtual void emitCode(GrGLProgramBuilder*, |
- const GrEffect&, |
+ const GrDrawEffect&, |
const GrEffectKey&, |
const char* outputColor, |
const char* inputColor, |
const TransformedCoordsArray&, |
const TextureSamplerArray&) SK_OVERRIDE; |
- static void GenKey(const GrEffect& effect, const GrGLCaps&, GrEffectKeyBuilder* b) { |
- b->add32(GenBaseGradientKey(effect)); |
+ static void GenKey(const GrDrawEffect& drawEffect, const GrGLCaps&, GrEffectKeyBuilder* b) { |
+ b->add32(GenBaseGradientKey(drawEffect)); |
} |
private: |
@@ -560,7 +560,7 @@ |
///////////////////////////////////////////////////////////////////// |
void GrGLRadialGradient::emitCode(GrGLProgramBuilder* builder, |
- const GrEffect&, |
+ const GrDrawEffect&, |
const GrEffectKey& key, |
const char* outputColor, |
const char* inputColor, |