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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFEMorphologyElement.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/SVGFEMorphologyElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFEMorphologyElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEMorphologyElement.cpp
index 0cb55215637f6a31fc0879ad514b45706151df16..e2e8f84a7414557efc9aa99cf1b713bd215f602e 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEMorphologyElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFEMorphologyElement.cpp
@@ -39,9 +39,7 @@ inline SVGFEMorphologyElement::SVGFEMorphologyElement(Document& document)
: SVGFilterPrimitiveStandardAttributes(SVGNames::feMorphologyTag, document),
m_radius(
SVGAnimatedNumberOptionalNumber::create(this, SVGNames::radiusAttr)),
- m_in1(SVGAnimatedString::create(this,
- SVGNames::inAttr,
- SVGString::create())),
+ m_in1(SVGAnimatedString::create(this, SVGNames::inAttr)),
m_svgOperator(SVGAnimatedEnumeration<MorphologyOperatorType>::create(
this,
SVGNames::operatorAttr,

Powered by Google App Engine
This is Rietveld 408576698