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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFEColorMatrixElement.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/SVGFEColorMatrixElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFEColorMatrixElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEColorMatrixElement.cpp
index 43dc1f192fb433b4a9977dd3e1ae7cff1ba68447..6bc8baf63184176d14f97cc43753afbae51b691d 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEColorMatrixElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFEColorMatrixElement.cpp
@@ -41,12 +41,8 @@ const SVGEnumerationStringEntries& getStaticStringEntries<ColorMatrixType>() {
inline SVGFEColorMatrixElement::SVGFEColorMatrixElement(Document& document)
: SVGFilterPrimitiveStandardAttributes(SVGNames::feColorMatrixTag,
document),
- m_values(SVGAnimatedNumberList::create(this,
- SVGNames::valuesAttr,
- SVGNumberList::create())),
- m_in1(SVGAnimatedString::create(this,
- SVGNames::inAttr,
- SVGString::create())),
+ m_values(SVGAnimatedNumberList::create(this, SVGNames::valuesAttr)),
+ m_in1(SVGAnimatedString::create(this, SVGNames::inAttr)),
m_type(SVGAnimatedEnumeration<ColorMatrixType>::create(
this,
SVGNames::typeAttr,

Powered by Google App Engine
This is Rietveld 408576698