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

Unified Diff: third_party/WebKit/Source/core/svg/SVGAElement.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 | « no previous file | third_party/WebKit/Source/core/svg/SVGAnimatedBoolean.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/SVGAElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGAElement.cpp b/third_party/WebKit/Source/core/svg/SVGAElement.cpp
index af5420e1400d29fa050366cf762afa7bb777386d..97bf4fbc5ff52bde6bf90a405f9e61b47ccf632c 100644
--- a/third_party/WebKit/Source/core/svg/SVGAElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGAElement.cpp
@@ -54,9 +54,7 @@ using namespace HTMLNames;
inline SVGAElement::SVGAElement(Document& document)
: SVGGraphicsElement(SVGNames::aTag, document),
SVGURIReference(this),
- m_svgTarget(SVGAnimatedString::create(this,
- SVGNames::targetAttr,
- SVGString::create())),
+ m_svgTarget(SVGAnimatedString::create(this, SVGNames::targetAttr)),
m_wasFocusedByMouse(false) {
addToPropertyMap(m_svgTarget);
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGAnimatedBoolean.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698