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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFEImageElement.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/SVGFEImageElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp
index d48cd5c37448d9fb37e76e32ba0eaa18a56290aa..bbcaadc9743d55b2a0c65ad4eb82d6179906f59d 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp
@@ -36,8 +36,7 @@ inline SVGFEImageElement::SVGFEImageElement(Document& document)
SVGURIReference(this),
m_preserveAspectRatio(SVGAnimatedPreserveAspectRatio::create(
this,
- SVGNames::preserveAspectRatioAttr,
- SVGPreserveAspectRatio::create())) {
+ SVGNames::preserveAspectRatioAttr)) {
addToPropertyMap(m_preserveAspectRatio);
}

Powered by Google App Engine
This is Rietveld 408576698