Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp |
index de3646c58a3195f7f77d256807fc5f6c77a3b426..7f917dbfc86c1f1ecd10c3446d8a4894e22c57d9 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp |
@@ -119,13 +119,6 @@ bool LayoutSVGResourceGradient::isChildAllowed(LayoutObject* child, |
return toLayoutSVGResourceContainer(child)->isSVGPaintServer(); |
} |
-void LayoutSVGResourceGradient::addStops( |
- Gradient& gradient, |
- const Vector<Gradient::ColorStop>& stops) const { |
- for (const auto& stop : stops) |
- gradient.addColorStop(stop); |
-} |
- |
GradientSpreadMethod LayoutSVGResourceGradient::platformSpreadMethodFromSVGType( |
SVGSpreadMethodType method) { |
switch (method) { |