Index: src/effects/gradients/SkTwoPointConicalGradient_gpu.cpp |
diff --git a/src/effects/gradients/SkTwoPointConicalGradient_gpu.cpp b/src/effects/gradients/SkTwoPointConicalGradient_gpu.cpp |
index 23fee850f5a3e4fda11937c00ce5ce9279b29d22..b4b745fdb5ada026f7f111fa55b26fe5d9c1ecb5 100644 |
--- a/src/effects/gradients/SkTwoPointConicalGradient_gpu.cpp |
+++ b/src/effects/gradients/SkTwoPointConicalGradient_gpu.cpp |
@@ -199,7 +199,10 @@ GrEffectRef* Edge2PtConicalEffect::TestCreate(SkRandom* random, |
colors, stops, colorCount, |
tm)); |
SkPaint paint; |
- return shader->asNewEffect(context, paint, NULL); |
+ GrEffectRef* effect; |
+ GrColor grColor; |
+ shader->asNewEffect(context, paint, NULL, &grColor, &effect); |
+ return effect; |
} |
GLEdge2PtConicalEffect::GLEdge2PtConicalEffect(const GrBackendEffectFactory& factory, |
@@ -470,7 +473,10 @@ GrEffectRef* FocalOutside2PtConicalEffect::TestCreate(SkRandom* random, |
colors, stops, colorCount, |
tm)); |
SkPaint paint; |
- return shader->asNewEffect(context, paint, NULL); |
+ GrEffectRef* effect; |
+ GrColor grColor; |
+ shader->asNewEffect(context, paint, NULL, &grColor, &effect); |
+ return effect; |
} |
GLFocalOutside2PtConicalEffect::GLFocalOutside2PtConicalEffect(const GrBackendEffectFactory& factory, |
@@ -679,7 +685,10 @@ GrEffectRef* FocalInside2PtConicalEffect::TestCreate(SkRandom* random, |
colors, stops, colorCount, |
tm)); |
SkPaint paint; |
- return shader->asNewEffect(context, paint, NULL); |
+ GrColor grColor; |
+ GrEffectRef* grEffect; |
+ shader->asNewEffect(context, paint, NULL, &grColor, &grEffect); |
+ return grEffect; |
} |
GLFocalInside2PtConicalEffect::GLFocalInside2PtConicalEffect(const GrBackendEffectFactory& factory, |
@@ -920,7 +929,10 @@ GrEffectRef* CircleInside2PtConicalEffect::TestCreate(SkRandom* random, |
colors, stops, colorCount, |
tm)); |
SkPaint paint; |
- return shader->asNewEffect(context, paint, NULL); |
+ GrColor grColor; |
+ GrEffectRef* grEffect; |
+ shader->asNewEffect(context, paint, NULL, &grColor, &grEffect); |
+ return grEffect; |
} |
GLCircleInside2PtConicalEffect::GLCircleInside2PtConicalEffect(const GrBackendEffectFactory& factory, |
@@ -1148,7 +1160,10 @@ GrEffectRef* CircleOutside2PtConicalEffect::TestCreate(SkRandom* random, |
colors, stops, colorCount, |
tm)); |
SkPaint paint; |
- return shader->asNewEffect(context, paint, NULL); |
+ GrColor grColor; |
+ GrEffectRef* grEffect; |
+ shader->asNewEffect(context, paint, NULL, &grColor, &grEffect); |
+ return grEffect; |
} |
GLCircleOutside2PtConicalEffect::GLCircleOutside2PtConicalEffect(const GrBackendEffectFactory& factory, |