Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(992)

Unified Diff: Source/core/svg/SVGRadialGradientElement.cpp

Issue 153883003: [SVG] SVGAnimatedTransform{,List} migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: haraken review Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/svg/SVGRadialGradientElement.cpp
diff --git a/Source/core/svg/SVGRadialGradientElement.cpp b/Source/core/svg/SVGRadialGradientElement.cpp
index a65b00b9822a3b6bef7bf2f198f1d98844f8c36f..93d42b4efacb75369b142f092e6ab1684be5a362 100644
--- a/Source/core/svg/SVGRadialGradientElement.cpp
+++ b/Source/core/svg/SVGRadialGradientElement.cpp
@@ -138,9 +138,9 @@ static void setGradientAttributes(SVGGradientElement* element, RadialGradientAtt
if (!attributes.hasGradientUnits() && element->gradientUnitsSpecified())
attributes.setGradientUnits(element->gradientUnitsCurrentValue());
- if (!attributes.hasGradientTransform() && element->gradientTransformSpecified()) {
+ if (!attributes.hasGradientTransform() && element->gradientTransform()->isSpecified()) {
AffineTransform transform;
- element->gradientTransformCurrentValue().concatenate(transform);
+ element->gradientTransform()->currentValue()->concatenate(transform);
attributes.setGradientTransform(transform);
}

Powered by Google App Engine
This is Rietveld 408576698