Index: Source/core/html/HTMLOutputElement.cpp |
diff --git a/Source/core/html/HTMLOutputElement.cpp b/Source/core/html/HTMLOutputElement.cpp |
index ab75b43bdc4d8ed2b921a83e31c690443c5893d9..4990e99bee474526c8c4b7cf32e9d09f63598551 100644 |
--- a/Source/core/html/HTMLOutputElement.cpp |
+++ b/Source/core/html/HTMLOutputElement.cpp |
@@ -36,7 +36,7 @@ |
namespace WebCore { |
-inline HTMLOutputElement::HTMLOutputElement(const QualifiedName& tagName, Document* document, HTMLFormElement* form) |
+inline HTMLOutputElement::HTMLOutputElement(const QualifiedName& tagName, Document& document, HTMLFormElement* form) |
: HTMLFormControlElement(tagName, document, form) |
, m_isDefaultValueMode(true) |
, m_isSetTextContentInProgress(false) |
@@ -46,7 +46,7 @@ inline HTMLOutputElement::HTMLOutputElement(const QualifiedName& tagName, Docume |
ScriptWrappable::init(this); |
} |
-PassRefPtr<HTMLOutputElement> HTMLOutputElement::create(const QualifiedName& tagName, Document* document, HTMLFormElement* form) |
+PassRefPtr<HTMLOutputElement> HTMLOutputElement::create(const QualifiedName& tagName, Document& document, HTMLFormElement* form) |
{ |
return adoptRef(new HTMLOutputElement(tagName, document, form)); |
} |