Index: src/gpu/effects/GrCustomCoordsTextureEffect.h |
diff --git a/src/gpu/effects/GrCustomCoordsTextureEffect.h b/src/gpu/effects/GrCustomCoordsTextureEffect.h |
index a2b62ed3b80f3bb0c002ba80105a90e28db65f6a..77524c8f424af12e72c087de90029a1c7757d652 100644 |
--- a/src/gpu/effects/GrCustomCoordsTextureEffect.h |
+++ b/src/gpu/effects/GrCustomCoordsTextureEffect.h |
@@ -21,8 +21,9 @@ class GrInvariantOutput; |
*/ |
class GrCustomCoordsTextureEffect : public GrGeometryProcessor { |
public: |
- static GrGeometryProcessor* Create(GrTexture* tex, const GrTextureParams& p, bool hasColor) { |
- return SkNEW_ARGS(GrCustomCoordsTextureEffect, (tex, p, hasColor)); |
+ static GrGeometryProcessor* Create(GrColor color, GrTexture* tex, const GrTextureParams& p, |
+ bool hasColor) { |
+ return SkNEW_ARGS(GrCustomCoordsTextureEffect, (color, tex, p, hasColor)); |
} |
virtual ~GrCustomCoordsTextureEffect() {} |
@@ -40,7 +41,8 @@ public: |
virtual GrGLGeometryProcessor* createGLInstance(const GrBatchTracker& bt) const SK_OVERRIDE; |
private: |
- GrCustomCoordsTextureEffect(GrTexture* texture, const GrTextureParams& params, bool hasColor); |
+ GrCustomCoordsTextureEffect(GrColor, GrTexture* texture, const GrTextureParams& params, |
+ bool hasColor); |
virtual bool onIsEqual(const GrGeometryProcessor& other) const SK_OVERRIDE; |