Index: Source/core/html/HTMLMenuElement.cpp |
diff --git a/Source/core/html/HTMLMenuElement.cpp b/Source/core/html/HTMLMenuElement.cpp |
index dd110d43f4c0346061f8ceb09883f4cf823ff438..2783c047b6a4883d7ac6a990de7ca945c070696c 100644 |
--- a/Source/core/html/HTMLMenuElement.cpp |
+++ b/Source/core/html/HTMLMenuElement.cpp |
@@ -29,16 +29,15 @@ namespace WebCore { |
using namespace HTMLNames; |
-inline HTMLMenuElement::HTMLMenuElement(const QualifiedName& tagName, Document& document) |
- : HTMLElement(tagName, document) |
+inline HTMLMenuElement::HTMLMenuElement(Document& document) |
+ : HTMLElement(menuTag, document) |
{ |
- ASSERT(hasTagName(menuTag)); |
ScriptWrappable::init(this); |
} |
-PassRefPtr<HTMLMenuElement> HTMLMenuElement::create(const QualifiedName& tagName, Document& document) |
+PassRefPtr<HTMLMenuElement> HTMLMenuElement::create(Document& document) |
{ |
- return adoptRef(new HTMLMenuElement(tagName, document)); |
+ return adoptRef(new HTMLMenuElement(document)); |
} |
} |