Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceLinearGradient.h |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceLinearGradient.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceLinearGradient.h |
index 1a7a079acd4e25beb497dbaaae6c3223bde7e61f..c7f416fcb17dd022ee159dceee8072ad8ff7bd70 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceLinearGradient.h |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceLinearGradient.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 startPoint(const LinearGradientAttributes&) const; |
FloatPoint endPoint(const LinearGradientAttributes&) const; |