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

Unified Diff: third_party/WebKit/Source/core/svg/SVGImageElement.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/SVGImageElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGImageElement.cpp b/third_party/WebKit/Source/core/svg/SVGImageElement.cpp
index 715195dda8657a60e03048db9a85a4ff67fa8a41..634111a675bbab198874749760ad158dbb1997eb 100644
--- a/third_party/WebKit/Source/core/svg/SVGImageElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGImageElement.cpp
@@ -47,8 +47,7 @@ inline SVGImageElement::SVGImageElement(Document& document)
SVGLength::create(SVGLengthMode::Height))),
m_preserveAspectRatio(SVGAnimatedPreserveAspectRatio::create(
this,
- SVGNames::preserveAspectRatioAttr,
- SVGPreserveAspectRatio::create())),
+ SVGNames::preserveAspectRatioAttr)),
m_imageLoader(SVGImageLoader::create(this)),
m_needsLoaderURIUpdate(true) {
addToPropertyMap(m_x);
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGGraphicsElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGPatternElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698