| Index: Source/core/html/HTMLDialogElement.cpp
|
| diff --git a/Source/core/html/HTMLDialogElement.cpp b/Source/core/html/HTMLDialogElement.cpp
|
| index feda559f1137cb14b79a783c1e75fbca3fb0533f..5eb8125e5345d6253140dcd2ac61e76bbd96a4f2 100644
|
| --- a/Source/core/html/HTMLDialogElement.cpp
|
| +++ b/Source/core/html/HTMLDialogElement.cpp
|
| @@ -89,7 +89,7 @@ static void inertSubtreesChanged(Document& document)
|
| cache->childrenChanged(cache->getOrCreate(&topDocument));
|
| }
|
|
|
| -HTMLDialogElement::HTMLDialogElement(Document& document)
|
| +inline HTMLDialogElement::HTMLDialogElement(Document& document)
|
| : HTMLElement(dialogTag, document)
|
| , m_centeringMode(NotCentered)
|
| , m_centeredPosition(0)
|
| @@ -98,10 +98,7 @@ HTMLDialogElement::HTMLDialogElement(Document& document)
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<HTMLDialogElement> HTMLDialogElement::create(Document& document)
|
| -{
|
| - return adoptRefWillBeRefCountedGarbageCollected(new HTMLDialogElement(document));
|
| -}
|
| +DEFINE_NODE_FACTORY(HTMLDialogElement)
|
|
|
| void HTMLDialogElement::close(const String& returnValue, ExceptionState& exceptionState)
|
| {
|
|
|