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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFECompositeElement.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/SVGFECompositeElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFECompositeElement.cpp b/third_party/WebKit/Source/core/svg/SVGFECompositeElement.cpp
index 5f0095867be3f61158b0e8450cbc785c9aa6f3eb..95ca05a5d91389090b1cb8abf2be8fcc70236ca1 100644
--- a/third_party/WebKit/Source/core/svg/SVGFECompositeElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFECompositeElement.cpp
@@ -61,12 +61,8 @@ inline SVGFECompositeElement::SVGFECompositeElement(Document& document)
m_k4(SVGAnimatedNumber::create(this,
SVGNames::k4Attr,
SVGNumber::create())),
- m_in1(SVGAnimatedString::create(this,
- SVGNames::inAttr,
- SVGString::create())),
- m_in2(SVGAnimatedString::create(this,
- SVGNames::in2Attr,
- SVGString::create())),
+ m_in1(SVGAnimatedString::create(this, SVGNames::inAttr)),
+ m_in2(SVGAnimatedString::create(this, SVGNames::in2Attr)),
m_svgOperator(SVGAnimatedEnumeration<CompositeOperationType>::create(
this,
SVGNames::operatorAttr,

Powered by Google App Engine
This is Rietveld 408576698