Index: src/effects/gradients/SkGradientShaderPriv.h |
diff --git a/src/effects/gradients/SkGradientShaderPriv.h b/src/effects/gradients/SkGradientShaderPriv.h |
index ec70929d43a6e663a68f11f5349959407986f50d..ee30c9b21b03fc5f9a69dbdb13e224418c132981 100644 |
--- a/src/effects/gradients/SkGradientShaderPriv.h |
+++ b/src/effects/gradients/SkGradientShaderPriv.h |
@@ -323,25 +323,12 @@ |
// Base class for Gr gradient effects |
class GrGradientEffect : public GrFragmentProcessor { |
public: |
- struct CreateArgs { |
- CreateArgs(GrContext* context, |
- const SkGradientShaderBase* shader, |
- const SkMatrix* matrix, |
- SkShader::TileMode tileMode) |
- : fContext(context) |
- , fShader(shader) |
- , fMatrix(matrix) |
- , fTileMode(tileMode) {} |
- |
- GrContext* fContext; |
- const SkGradientShaderBase* fShader; |
- const SkMatrix* fMatrix; |
- SkShader::TileMode fTileMode; |
- }; |
- |
class GLSLProcessor; |
- GrGradientEffect(const CreateArgs&); |
+ GrGradientEffect(GrContext* ctx, |
+ const SkGradientShaderBase& shader, |
+ const SkMatrix& matrix, |
+ SkShader::TileMode tileMode); |
virtual ~GrGradientEffect(); |