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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFEDiffuseLightingElement.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/SVGFEDiffuseLightingElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFEDiffuseLightingElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEDiffuseLightingElement.cpp
index 5806985fabd4621868d657b6f6807f488c78a61e..0f2018f44a9221f38de7fdf9a20ddb542c244643 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEDiffuseLightingElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFEDiffuseLightingElement.cpp
@@ -40,9 +40,7 @@ inline SVGFEDiffuseLightingElement::SVGFEDiffuseLightingElement(
m_kernelUnitLength(SVGAnimatedNumberOptionalNumber::create(
this,
SVGNames::kernelUnitLengthAttr)),
- m_in1(SVGAnimatedString::create(this,
- SVGNames::inAttr,
- SVGString::create())) {
+ m_in1(SVGAnimatedString::create(this, SVGNames::inAttr)) {
addToPropertyMap(m_diffuseConstant);
addToPropertyMap(m_surfaceScale);
addToPropertyMap(m_kernelUnitLength);

Powered by Google App Engine
This is Rietveld 408576698