| Index: Source/core/html/HTMLDialogElement.cpp
|
| diff --git a/Source/core/html/HTMLDialogElement.cpp b/Source/core/html/HTMLDialogElement.cpp
|
| index fd25e3976b75b5e8df9a56071bcc6e84bb080bca..2f030139411dd3b6fb48cb517c528000aa24a567 100644
|
| --- a/Source/core/html/HTMLDialogElement.cpp
|
| +++ b/Source/core/html/HTMLDialogElement.cpp
|
| @@ -41,7 +41,7 @@ static bool needsCenteredPositioning(const RenderStyle* style)
|
| return style->position() == AbsolutePosition && style->hasAutoTopAndBottom();
|
| }
|
|
|
| -HTMLDialogElement::HTMLDialogElement(const QualifiedName& tagName, Document* document)
|
| +HTMLDialogElement::HTMLDialogElement(const QualifiedName& tagName, Document& document)
|
| : HTMLElement(tagName, document)
|
| , m_topIsValid(false)
|
| , m_top(0)
|
| @@ -52,7 +52,7 @@ HTMLDialogElement::HTMLDialogElement(const QualifiedName& tagName, Document* doc
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| -PassRefPtr<HTMLDialogElement> HTMLDialogElement::create(const QualifiedName& tagName, Document* document)
|
| +PassRefPtr<HTMLDialogElement> HTMLDialogElement::create(const QualifiedName& tagName, Document& document)
|
| {
|
| return adoptRef(new HTMLDialogElement(tagName, document));
|
| }
|
|
|