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

Unified Diff: third_party/WebKit/Source/core/svg/SVGComponentTransferFunctionElement.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/SVGComponentTransferFunctionElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGComponentTransferFunctionElement.cpp b/third_party/WebKit/Source/core/svg/SVGComponentTransferFunctionElement.cpp
index 414ea660cf68fd9a8e48db04959fce13fa6619e3..2b114e5ff126ad25c63cfd559446bc68b9044f2f 100644
--- a/third_party/WebKit/Source/core/svg/SVGComponentTransferFunctionElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGComponentTransferFunctionElement.cpp
@@ -47,9 +47,8 @@ SVGComponentTransferFunctionElement::SVGComponentTransferFunctionElement(
const QualifiedName& tagName,
Document& document)
: SVGElement(tagName, document),
- m_tableValues(SVGAnimatedNumberList::create(this,
- SVGNames::tableValuesAttr,
- SVGNumberList::create())),
+ m_tableValues(
+ SVGAnimatedNumberList::create(this, SVGNames::tableValuesAttr)),
m_slope(SVGAnimatedNumber::create(this,
SVGNames::slopeAttr,
SVGNumber::create(1))),
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGAnimatedTransformList.h ('k') | third_party/WebKit/Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698