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

Unified Diff: third_party/WebKit/Source/core/svg/SVGAnimatedHref.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/SVGAnimatedHref.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimatedHref.cpp b/third_party/WebKit/Source/core/svg/SVGAnimatedHref.cpp
index a0d6e3d14f34f318627533ce04332aabac78692d..1152e018340f3061f5e8330e867eca06195ac46f 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimatedHref.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGAnimatedHref.cpp
@@ -21,12 +21,9 @@ DEFINE_TRACE(SVGAnimatedHref) {
}
SVGAnimatedHref::SVGAnimatedHref(SVGElement* contextElement)
- : SVGAnimatedString(contextElement,
- SVGNames::hrefAttr,
- SVGString::create()),
- m_xlinkHref(SVGAnimatedString::create(contextElement,
- XLinkNames::hrefAttr,
- SVGString::create())) {}
+ : SVGAnimatedString(contextElement, SVGNames::hrefAttr),
+ m_xlinkHref(
+ SVGAnimatedString::create(contextElement, XLinkNames::hrefAttr)) {}
void SVGAnimatedHref::addToPropertyMap(SVGElement* element) {
element->addToPropertyMap(this);
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGAnimatedBoolean.h ('k') | third_party/WebKit/Source/core/svg/SVGAnimatedNumberList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698