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

Unified Diff: Source/core/svg/SVGAnimateMotionElement.cpp

Issue 68643007: Remove QualifiedName argument from SVGElement::create functions (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 7 years, 1 month 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 | « Source/core/svg/SVGAnimateMotionElement.h ('k') | Source/core/svg/SVGAnimateTransformElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()
« no previous file with comments | « Source/core/svg/SVGAnimateMotionElement.h ('k') | Source/core/svg/SVGAnimateTransformElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698