Index: Source/core/svg/SVGAnimateColorElement.cpp |
diff --git a/Source/core/svg/SVGAnimateColorElement.cpp b/Source/core/svg/SVGAnimateColorElement.cpp |
index 8da908603ed57e8ac7efd74a1957a014a5540cfe..7bf3842c4915fc1ff49a33a27da8929e0546fb30 100644 |
--- a/Source/core/svg/SVGAnimateColorElement.cpp |
+++ b/Source/core/svg/SVGAnimateColorElement.cpp |
@@ -27,18 +27,17 @@ |
namespace WebCore { |
-inline SVGAnimateColorElement::SVGAnimateColorElement(const QualifiedName& tagName, Document& document) |
- : SVGAnimateElement(tagName, document) |
+inline SVGAnimateColorElement::SVGAnimateColorElement(Document& document) |
+ : SVGAnimateElement(SVGNames::animateColorTag, document) |
{ |
- ASSERT(hasTagName(SVGNames::animateColorTag)); |
ScriptWrappable::init(this); |
UseCounter::count(document, UseCounter::SVGAnimateColorElement); |
} |
-PassRefPtr<SVGAnimateColorElement> SVGAnimateColorElement::create(const QualifiedName& tagName, Document& document) |
+PassRefPtr<SVGAnimateColorElement> SVGAnimateColorElement::create(Document& document) |
{ |
- return adoptRef(new SVGAnimateColorElement(tagName, document)); |
+ return adoptRef(new SVGAnimateColorElement(document)); |
} |
static bool attributeValueIsCurrentColor(const String& value) |