Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceRadialGradient.h |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceRadialGradient.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceRadialGradient.h |
index 58fc5bd7df363f3a73733fd435701747ffa11b22..a400f5071a5c067acd33f5d23252ef042466f24e 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceRadialGradient.h |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceRadialGradient.h |
@@ -39,9 +39,9 @@ public: |
LayoutSVGResourceType resourceType() const override { return s_resourceType; } |
SVGUnitTypes::SVGUnitType gradientUnits() const override { return attributes().gradientUnits(); } |
- void calculateGradientTransform(AffineTransform& transform) override { transform = attributes().gradientTransform(); } |
+ AffineTransform calculateGradientTransform() const override { return attributes().gradientTransform(); } |
bool collectGradientAttributes(SVGGradientElement*) override; |
- void buildGradient(GradientData*) const override; |
+ PassRefPtr<Gradient> buildGradient() const override; |
FloatPoint centerPoint(const RadialGradientAttributes&) const; |
FloatPoint focalPoint(const RadialGradientAttributes&) const; |