Index: gm/blurroundrect.cpp |
diff --git a/gm/blurroundrect.cpp b/gm/blurroundrect.cpp |
index dcb0e9765baf1804951457e4a6bd11ac0bb1474e..6b11f841c0fa4e35176060861f7b745a6b0870cb 100644 |
--- a/gm/blurroundrect.cpp |
+++ b/gm/blurroundrect.cpp |
@@ -112,10 +112,10 @@ static SkShader* MakeRadial() { |
SkScalarAve(pts[0].fY, pts[1].fY)); |
center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), |
SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); |
- return SkGradientShader::CreateTwoPointRadial(center1, (pts[1].fX - pts[0].fX) / 7, |
- center0, (pts[1].fX - pts[0].fX) / 2, |
- colors, pos, SK_ARRAY_COUNT(colors), tm, |
- 0, &scale); |
+ return SkGradientShader::CreateTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, |
+ center0, (pts[1].fX - pts[0].fX) / 2, |
+ colors, pos, SK_ARRAY_COUNT(colors), tm, |
+ 0, &scale); |
} |
// Simpler blurred RR test cases where all the radii are the same. |