Index: src/effects/gradients/SkRadialGradient.cpp |
diff --git a/src/effects/gradients/SkRadialGradient.cpp b/src/effects/gradients/SkRadialGradient.cpp |
index b6b31c592f0856ce6d38694c51e06b260fdd123b..b2e9a11e64fdbf0d80884c2908d20206cceb7227 100644 |
--- a/src/effects/gradients/SkRadialGradient.cpp |
+++ b/src/effects/gradients/SkRadialGradient.cpp |
@@ -517,9 +517,10 @@ GrFragmentProcessor* GrRadialGradient::TestCreate(SkRandom* random, |
SkPaint paint; |
GrColor paintColor; |
GrFragmentProcessor* fp; |
+ GrPaint grPaint; |
SkAssertResult(shader->asFragmentProcessor(context, paint, |
GrTest::TestMatrix(random), NULL, |
- &paintColor, &fp)); |
+ &paintColor, grPaint.getShaderDataManager(), &fp)); |
return fp; |
} |
@@ -544,7 +545,7 @@ void GrGLRadialGradient::emitCode(GrGLFPBuilder* builder, |
bool SkRadialGradient::asFragmentProcessor(GrContext* context, const SkPaint& paint, |
const SkMatrix& viewM, |
const SkMatrix* localMatrix, GrColor* paintColor, |
- GrFragmentProcessor** fp) const { |
+ GrShaderDataManager*, GrFragmentProcessor** fp) const { |
SkASSERT(context); |
SkMatrix matrix; |
@@ -569,7 +570,7 @@ bool SkRadialGradient::asFragmentProcessor(GrContext* context, const SkPaint& pa |
#else |
bool SkRadialGradient::asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix&, |
- const SkMatrix*, GrColor*, |
+ const SkMatrix*, GrColor*, GrShaderDataManager*, |
GrFragmentProcessor**) const { |
SkDEBUGFAIL("Should not call in GPU-less build"); |
return false; |