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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFEOffsetElement.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/SVGFEOffsetElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFEOffsetElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEOffsetElement.cpp
index 926664776299ff966b08a050b4fdeec84f8241ff..3c68a29c1740895ba96590a34d74f8f0d0a683d2 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEOffsetElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFEOffsetElement.cpp
@@ -34,9 +34,7 @@ inline SVGFEOffsetElement::SVGFEOffsetElement(Document& document)
m_dy(SVGAnimatedNumber::create(this,
SVGNames::dyAttr,
SVGNumber::create())),
- m_in1(SVGAnimatedString::create(this,
- SVGNames::inAttr,
- SVGString::create())) {
+ m_in1(SVGAnimatedString::create(this, SVGNames::inAttr)) {
addToPropertyMap(m_dx);
addToPropertyMap(m_dy);
addToPropertyMap(m_in1);

Powered by Google App Engine
This is Rietveld 408576698