Index: src/effects/gradients/SkLinearGradient.cpp |
diff --git a/src/effects/gradients/SkLinearGradient.cpp b/src/effects/gradients/SkLinearGradient.cpp |
index d978e5ada044c1f304e5818148351e0909f8a162..b26d60626b0b2a51d7c9894160932240153e26fe 100644 |
--- a/src/effects/gradients/SkLinearGradient.cpp |
+++ b/src/effects/gradients/SkLinearGradient.cpp |
@@ -468,21 +468,21 @@ |
class GrGLLinearGradient : public GrGLGradientEffect { |
public: |
- GrGLLinearGradient(const GrBackendEffectFactory& factory, const GrEffect&) |
+ GrGLLinearGradient(const GrBackendEffectFactory& factory, const GrDrawEffect&) |
: INHERITED (factory) { } |
virtual ~GrGLLinearGradient() { } |
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: |
@@ -551,7 +551,7 @@ |
///////////////////////////////////////////////////////////////////// |
void GrGLLinearGradient::emitCode(GrGLProgramBuilder* builder, |
- const GrEffect&, |
+ const GrDrawEffect&, |
const GrEffectKey& key, |
const char* outputColor, |
const char* inputColor, |