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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFilterPrimitiveStandardAttributes.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/SVGFilterPrimitiveStandardAttributes.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp b/third_party/WebKit/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp
index 38324f8edda8246f7a9b9b307207e3e9b6b5805e..7bb7de2c3931f2d883c834e5fe7b315ee5d0eb43 100644
--- a/third_party/WebKit/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp
@@ -49,9 +49,7 @@ SVGFilterPrimitiveStandardAttributes::SVGFilterPrimitiveStandardAttributes(
SVGAnimatedLength::create(this,
SVGNames::heightAttr,
SVGLength::create(SVGLengthMode::Height))),
- m_result(SVGAnimatedString::create(this,
- SVGNames::resultAttr,
- SVGString::create())) {
+ m_result(SVGAnimatedString::create(this, SVGNames::resultAttr)) {
// Spec: If the x/y attribute is not specified, the effect is as if a value of
// "0%" were specified.
m_x->setDefaultValueAsString("0%");
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGFETileElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGFitToViewBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698