| Index: Source/core/html/HTMLInputElement.cpp
|
| diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
|
| index c4a3256c5f44bc8456cae22b8347c38886163b56..33edee20499bd9e9b8ba8999b95bd8dd5a171798 100644
|
| --- a/Source/core/html/HTMLInputElement.cpp
|
| +++ b/Source/core/html/HTMLInputElement.cpp
|
| @@ -98,7 +98,7 @@ const int HTMLInputElement::maximumLength = 524288;
|
| const int defaultSize = 20;
|
| const int maxSavedResults = 256;
|
|
|
| -HTMLInputElement::HTMLInputElement(const QualifiedName& tagName, Document* document, HTMLFormElement* form, bool createdByParser)
|
| +HTMLInputElement::HTMLInputElement(const QualifiedName& tagName, Document& document, HTMLFormElement* form, bool createdByParser)
|
| : HTMLTextFormControlElement(tagName, document, form)
|
| , m_size(defaultSize)
|
| , m_maxLength(maximumLength)
|
| @@ -127,7 +127,7 @@ HTMLInputElement::HTMLInputElement(const QualifiedName& tagName, Document* docum
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| -PassRefPtr<HTMLInputElement> HTMLInputElement::create(const QualifiedName& tagName, Document* document, HTMLFormElement* form, bool createdByParser)
|
| +PassRefPtr<HTMLInputElement> HTMLInputElement::create(const QualifiedName& tagName, Document& document, HTMLFormElement* form, bool createdByParser)
|
| {
|
| RefPtr<HTMLInputElement> inputElement = adoptRef(new HTMLInputElement(tagName, document, form, createdByParser));
|
| inputElement->ensureUserAgentShadowRoot();
|
|
|