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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.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/SVGFEConvolveMatrixElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp
index b87ce8b46d8154da6287587a2b4dd47f6e810549..e7acb7e535e6aeb40fb8a40b9633a2d08914ebd4 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp
@@ -83,23 +83,19 @@ inline SVGFEConvolveMatrixElement::SVGFEConvolveMatrixElement(
m_divisor(SVGAnimatedNumber::create(this,
SVGNames::divisorAttr,
SVGNumber::create())),
- m_in1(SVGAnimatedString::create(this,
- SVGNames::inAttr,
- SVGString::create())),
+ m_in1(SVGAnimatedString::create(this, SVGNames::inAttr)),
m_edgeMode(
SVGAnimatedEnumeration<EdgeModeType>::create(this,
SVGNames::edgeModeAttr,
EDGEMODE_DUPLICATE)),
- m_kernelMatrix(SVGAnimatedNumberList::create(this,
- SVGNames::kernelMatrixAttr,
- SVGNumberList::create())),
+ m_kernelMatrix(
+ SVGAnimatedNumberList::create(this, SVGNames::kernelMatrixAttr)),
m_kernelUnitLength(SVGAnimatedNumberOptionalNumber::create(
this,
SVGNames::kernelUnitLengthAttr)),
m_order(SVGAnimatedOrder::create(this)),
- m_preserveAlpha(SVGAnimatedBoolean::create(this,
- SVGNames::preserveAlphaAttr,
- SVGBoolean::create())),
+ m_preserveAlpha(
+ SVGAnimatedBoolean::create(this, SVGNames::preserveAlphaAttr)),
m_targetX(SVGAnimatedInteger::create(this,
SVGNames::targetXAttr,
SVGInteger::create())),

Powered by Google App Engine
This is Rietveld 408576698