Index: src/effects/gradients/SkSweepGradient.cpp |
diff --git a/src/effects/gradients/SkSweepGradient.cpp b/src/effects/gradients/SkSweepGradient.cpp |
index 6aaa92fc31710efb0cec7dc2b7f105031541a539..c56cf1494cb1cf05016ca0bd8f272738d5a306ad 100644 |
--- a/src/effects/gradients/SkSweepGradient.cpp |
+++ b/src/effects/gradients/SkSweepGradient.cpp |
@@ -192,19 +192,19 @@ |
public: |
GrGLSweepGradient(const GrBackendEffectFactory& factory, |
- const GrEffect&) : INHERITED (factory) { } |
+ const GrDrawEffect&) : INHERITED (factory) { } |
virtual ~GrGLSweepGradient() { } |
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: |
@@ -266,7 +266,7 @@ |
///////////////////////////////////////////////////////////////////// |
void GrGLSweepGradient::emitCode(GrGLProgramBuilder* builder, |
- const GrEffect&, |
+ const GrDrawEffect&, |
const GrEffectKey& key, |
const char* outputColor, |
const char* inputColor, |