| Index: Source/core/html/HTMLDialogElement.cpp
|
| diff --git a/Source/core/html/HTMLDialogElement.cpp b/Source/core/html/HTMLDialogElement.cpp
|
| index f93b4129afb7485f13ec29fd4f495f2493200f00..0a66195fd429007399142914a4508233b3fb793d 100644
|
| --- a/Source/core/html/HTMLDialogElement.cpp
|
| +++ b/Source/core/html/HTMLDialogElement.cpp
|
| @@ -64,19 +64,18 @@ static void inertSubtreesChanged(Document& document)
|
| cache->handleInertSubtreesChanged();
|
| }
|
|
|
| -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)
|
|
|