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

Unified Diff: third_party/WebKit/Source/core/svg/SVGPatternElement.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/SVGPatternElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGPatternElement.cpp b/third_party/WebKit/Source/core/svg/SVGPatternElement.cpp
index f17717f64b55d76f14a89d2c60e5965e0fd02904..216ddcff46746d5cbf185618e9a6e35f4738ce1b 100644
--- a/third_party/WebKit/Source/core/svg/SVGPatternElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGPatternElement.cpp
@@ -50,8 +50,7 @@ inline SVGPatternElement::SVGPatternElement(Document& document)
SVGLength::create(SVGLengthMode::Height))),
m_patternTransform(
SVGAnimatedTransformList::create(this,
- SVGNames::patternTransformAttr,
- SVGTransformList::create())),
+ SVGNames::patternTransformAttr)),
m_patternUnits(SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>::create(
this,
SVGNames::patternUnitsAttr,

Powered by Google App Engine
This is Rietveld 408576698