Index: Source/core/html/HTMLDialogElement.cpp |
diff --git a/Source/core/html/HTMLDialogElement.cpp b/Source/core/html/HTMLDialogElement.cpp |
index b264572319d7a1f09e51040bdb1d235e4718543a..564929b02f8ac310fe8439ac1d48c8ee70d89e90 100644 |
--- a/Source/core/html/HTMLDialogElement.cpp |
+++ b/Source/core/html/HTMLDialogElement.cpp |
@@ -57,19 +57,18 @@ static void runAutofocus(HTMLDialogElement* dialog) |
} |
} |
-HTMLDialogElement::HTMLDialogElement(const QualifiedName& tagName, Document& document) |
- : HTMLElement(tagName, document) |
+HTMLDialogElement::HTMLDialogElement(Document& document) |
+ : HTMLElement(dialogTag, document) |
, m_centeringMode(Uninitialized) |
, m_centeredPosition(0) |
, m_returnValue("") |
{ |
- ASSERT(hasTagName(dialogTag)); |
ScriptWrappable::init(this); |
} |
-PassRefPtr<HTMLDialogElement> HTMLDialogElement::create(const QualifiedName& tagName, Document& document) |
+PassRefPtr<HTMLDialogElement> HTMLDialogElement::create(Document& document) |
{ |
- return adoptRef(new HTMLDialogElement(tagName, document)); |
+ return adoptRef(new HTMLDialogElement(document)); |
} |
void HTMLDialogElement::close(const String& returnValue, ExceptionState& es) |