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

Unified Diff: third_party/WebKit/Source/core/svg/SVGGradientElement.cpp

Issue 2436793002: Simplify SVGAnimated* initialization (Closed)
Patch Set: Created 4 years, 2 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: third_party/WebKit/Source/core/svg/SVGGradientElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGGradientElement.cpp b/third_party/WebKit/Source/core/svg/SVGGradientElement.cpp
index 0e83b357555b15790d2a13576c390fb4db8423ca..58b505dc23b81cf0843aa0818d870ad754db84f0 100644
--- a/third_party/WebKit/Source/core/svg/SVGGradientElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGGradientElement.cpp
@@ -47,8 +47,7 @@ SVGGradientElement::SVGGradientElement(const QualifiedName& tagName,
SVGURIReference(this),
m_gradientTransform(
SVGAnimatedTransformList::create(this,
- SVGNames::gradientTransformAttr,
- SVGTransformList::create())),
+ SVGNames::gradientTransformAttr)),
m_spreadMethod(SVGAnimatedEnumeration<SVGSpreadMethodType>::create(
this,
SVGNames::spreadMethodAttr,
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGFitToViewBox.cpp ('k') | third_party/WebKit/Source/core/svg/SVGGraphicsElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698