Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceRadialGradient.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceRadialGradient.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceRadialGradient.cpp |
index 3317339284565132bd112e4beb4edf92c9d98013..46f006fa93fb451a1d2422ba40f88becca445046 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceRadialGradient.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceRadialGradient.cpp |
@@ -70,7 +70,7 @@ PassRefPtr<Gradient> LayoutSVGResourceRadialGradient::buildGradient() const { |
centerPoint(attributes), radius(attributes)); |
gradient->setSpreadMethod( |
platformSpreadMethodFromSVGType(attributes.spreadMethod())); |
- addStops(*gradient, attributes.stops()); |
+ gradient->addColorStops(attributes.stops()); |
return gradient.release(); |
} |