Index: Source/core/svg/SVGAnimateMotionElement.cpp |
diff --git a/Source/core/svg/SVGAnimateMotionElement.cpp b/Source/core/svg/SVGAnimateMotionElement.cpp |
index 6f0a5fd477b04d5d841abf2e8690edab90cc7258..9c76b316404718f5dffa21750475903566d5ce6c 100644 |
--- a/Source/core/svg/SVGAnimateMotionElement.cpp |
+++ b/Source/core/svg/SVGAnimateMotionElement.cpp |
@@ -40,12 +40,11 @@ namespace WebCore { |
using namespace SVGNames; |
-inline SVGAnimateMotionElement::SVGAnimateMotionElement(const QualifiedName& tagName, Document& document) |
- : SVGAnimationElement(tagName, document) |
+inline SVGAnimateMotionElement::SVGAnimateMotionElement(Document& document) |
+ : SVGAnimationElement(animateMotionTag, document) |
, m_hasToPointAtEndOfDuration(false) |
{ |
setCalcMode(CalcModePaced); |
- ASSERT(hasTagName(animateMotionTag)); |
ScriptWrappable::init(this); |
} |
@@ -55,9 +54,9 @@ SVGAnimateMotionElement::~SVGAnimateMotionElement() |
clearAnimatedType(targetElement()); |
} |
-PassRefPtr<SVGAnimateMotionElement> SVGAnimateMotionElement::create(const QualifiedName& tagName, Document& document) |
+PassRefPtr<SVGAnimateMotionElement> SVGAnimateMotionElement::create(Document& document) |
{ |
- return adoptRef(new SVGAnimateMotionElement(tagName, document)); |
+ return adoptRef(new SVGAnimateMotionElement(document)); |
} |
bool SVGAnimateMotionElement::hasValidAttributeType() |