summaryrefslogtreecommitdiff
path: root/chromium/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp')
-rw-r--r--chromium/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/chromium/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp b/chromium/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
index eb21c90e306..b3f2e1b1fb4 100644
--- a/chromium/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
+++ b/chromium/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
@@ -22,7 +22,6 @@
#include "core/svg/SVGTextPathElement.h"
-#include "SVGNames.h"
#include "XLinkNames.h"
#include "core/rendering/svg/RenderSVGResource.h"
#include "core/rendering/svg/RenderSVGTextPath.h"
@@ -44,20 +43,19 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGTextPathElement)
REGISTER_PARENT_ANIMATED_PROPERTIES(SVGTextContentElement)
END_REGISTER_ANIMATED_PROPERTIES
-inline SVGTextPathElement::SVGTextPathElement(const QualifiedName& tagName, Document& document)
- : SVGTextContentElement(tagName, document)
+inline SVGTextPathElement::SVGTextPathElement(Document& document)
+ : SVGTextContentElement(SVGNames::textPathTag, document)
, m_startOffset(LengthModeOther)
, m_method(SVGTextPathMethodAlign)
, m_spacing(SVGTextPathSpacingExact)
{
- ASSERT(hasTagName(SVGNames::textPathTag));
ScriptWrappable::init(this);
registerAnimatedPropertiesForSVGTextPathElement();
}
-PassRefPtr<SVGTextPathElement> SVGTextPathElement::create(const QualifiedName& tagName, Document& document)
+PassRefPtr<SVGTextPathElement> SVGTextPathElement::create(Document& document)
{
- return adoptRef(new SVGTextPathElement(tagName, document));
+ return adoptRef(new SVGTextPathElement(document));
}
SVGTextPathElement::~SVGTextPathElement()