Index: third_party/WebKit/Source/core/svg/SVGRadialGradientElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGRadialGradientElement.cpp b/third_party/WebKit/Source/core/svg/SVGRadialGradientElement.cpp |
index 145c7993d7b397cbc08830b1ea24d0e26042712f..ce9fc398d8ebe925d0f10f46d0e676a6ccc41d77 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGRadialGradientElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGRadialGradientElement.cpp |
@@ -115,10 +115,9 @@ static void setGradientAttributes(SVGGradientElement* element, |
element->gradientUnits()->currentValue()->enumValue()); |
if (!attributes.hasGradientTransform() && |
- element->gradientTransform()->isSpecified()) { |
- AffineTransform transform; |
- element->gradientTransform()->currentValue()->concatenate(transform); |
- attributes.setGradientTransform(transform); |
+ element->hasTransform(SVGElement::ExcludeMotionTransform)) { |
+ attributes.setGradientTransform( |
+ element->calculateTransform(SVGElement::ExcludeMotionTransform)); |
} |
if (!attributes.hasStops()) { |