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

Unified Diff: third_party/WebKit/Source/core/svg/SVGViewSpec.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
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGTextPositioningElement.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/SVGViewSpec.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGViewSpec.cpp b/third_party/WebKit/Source/core/svg/SVGViewSpec.cpp
index 69953a0b539fc0da73b4cfad1e5a0f62b2ea0454..2363477e2a75748d5da1ca19bccf249987d7d1a7 100644
--- a/third_party/WebKit/Source/core/svg/SVGViewSpec.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGViewSpec.cpp
@@ -39,10 +39,8 @@ SVGViewSpec::SVGViewSpec(SVGSVGElement* contextElement)
// SVGViewSpec.
: SVGFitToViewBox(contextElement, PropertyMapPolicySkip),
m_contextElement(contextElement),
- m_transform(
- SVGAnimatedTransformList::create(contextElement,
- SVGNames::transformAttr,
- SVGTransformList::create())) {
+ m_transform(SVGAnimatedTransformList::create(contextElement,
+ SVGNames::transformAttr)) {
ASSERT(m_contextElement);
viewBox()->setReadOnly();
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGTextPositioningElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698