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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFEDisplacementMapElement.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/SVGFEDisplacementMapElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFEDisplacementMapElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEDisplacementMapElement.cpp
index 6f755afb69f87bfbb83b58c1283512f03c01b174..3b53d54dbae18a4754171a4c1bf8e7709d8c817a 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEDisplacementMapElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFEDisplacementMapElement.cpp
@@ -44,12 +44,8 @@ inline SVGFEDisplacementMapElement::SVGFEDisplacementMapElement(
m_scale(SVGAnimatedNumber::create(this,
SVGNames::scaleAttr,
SVGNumber::create(0))),
- 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_xChannelSelector(SVGAnimatedEnumeration<ChannelSelectorType>::create(
this,
SVGNames::xChannelSelectorAttr,

Powered by Google App Engine
This is Rietveld 408576698