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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFESpecularLightingElement.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/SVGFESpecularLightingElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFESpecularLightingElement.cpp b/third_party/WebKit/Source/core/svg/SVGFESpecularLightingElement.cpp
index 06d86e4eb776935ab5532798ab94d5612a66dbb3..574dc0ef3f005666332ff109f46c8affa0f78918 100644
--- a/third_party/WebKit/Source/core/svg/SVGFESpecularLightingElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFESpecularLightingElement.cpp
@@ -47,9 +47,7 @@ inline SVGFESpecularLightingElement::SVGFESpecularLightingElement(
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_specularConstant);
addToPropertyMap(m_specularExponent);
addToPropertyMap(m_surfaceScale);
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGFEOffsetElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGFETileElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698