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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFEBlendElement.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/SVGFEBlendElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFEBlendElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEBlendElement.cpp
index 357349bf372818deb1929217d94a72a8c1bc3e0a..ab6ece9410376204bdb720bd74e6d3c7037cfc60 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEBlendElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFEBlendElement.cpp
@@ -95,12 +95,8 @@ unsigned short getMaxExposedEnumValue<SVGFEBlendElement::Mode>() {
inline SVGFEBlendElement::SVGFEBlendElement(Document& document)
: SVGFilterPrimitiveStandardAttributes(SVGNames::feBlendTag, document),
- 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_mode(
SVGAnimatedEnumeration<Mode>::create(this,
SVGNames::modeAttr,
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGFEColorMatrixElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698