Index: Source/core/layout/svg/LayoutSVGResourceLinearGradient.cpp |
diff --git a/Source/core/layout/svg/LayoutSVGResourceLinearGradient.cpp b/Source/core/layout/svg/LayoutSVGResourceLinearGradient.cpp |
index 837e46235be6c74a04ca48b261ac54fad5b8a555..1c5415951db3bd35c332307a4aeab22e733dc174 100644 |
--- a/Source/core/layout/svg/LayoutSVGResourceLinearGradient.cpp |
+++ b/Source/core/layout/svg/LayoutSVGResourceLinearGradient.cpp |
@@ -50,12 +50,12 @@ bool LayoutSVGResourceLinearGradient::collectGradientAttributes(SVGGradientEleme |
FloatPoint LayoutSVGResourceLinearGradient::startPoint(const LinearGradientAttributes& attributes) const |
{ |
- return SVGLengthContext::resolvePoint(element(), attributes.gradientUnits(), attributes.x1(), attributes.y1()); |
+ return SVGLengthContext::resolvePoint(element(), attributes.gradientUnits(), *attributes.x1(), *attributes.y1()); |
} |
FloatPoint LayoutSVGResourceLinearGradient::endPoint(const LinearGradientAttributes& attributes) const |
{ |
- return SVGLengthContext::resolvePoint(element(), attributes.gradientUnits(), attributes.x2(), attributes.y2()); |
+ return SVGLengthContext::resolvePoint(element(), attributes.gradientUnits(), *attributes.x2(), *attributes.y2()); |
} |
void LayoutSVGResourceLinearGradient::buildGradient(GradientData* gradientData) const |