Index: Source/core/html/HTMLBaseElement.cpp |
diff --git a/Source/core/html/HTMLBaseElement.cpp b/Source/core/html/HTMLBaseElement.cpp |
index 34e5de2130f9738b40de12a709c80970f19c1cdf..6ec6654c17fbb0144fdf93c416417f1c128fc7f0 100644 |
--- a/Source/core/html/HTMLBaseElement.cpp |
+++ b/Source/core/html/HTMLBaseElement.cpp |
@@ -33,16 +33,15 @@ namespace WebCore { |
using namespace HTMLNames; |
-inline HTMLBaseElement::HTMLBaseElement(const QualifiedName& tagName, Document& document) |
- : HTMLElement(tagName, document) |
+inline HTMLBaseElement::HTMLBaseElement(Document& document) |
+ : HTMLElement(baseTag, document) |
{ |
- ASSERT(hasTagName(baseTag)); |
ScriptWrappable::init(this); |
} |
-PassRefPtr<HTMLBaseElement> HTMLBaseElement::create(const QualifiedName& tagName, Document& document) |
+PassRefPtr<HTMLBaseElement> HTMLBaseElement::create(Document& document) |
{ |
- return adoptRef(new HTMLBaseElement(tagName, document)); |
+ return adoptRef(new HTMLBaseElement(document)); |
} |
void HTMLBaseElement::parseAttribute(const QualifiedName& name, const AtomicString& value) |