| Index: third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp b/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp
|
| index 1d9e8541a2f42b60d94b78d5b3392009bc5f9eff..7f30e4c7a13eb572174f91ff543531a2428811b7 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp
|
| @@ -71,9 +71,8 @@ static inline unsigned computeLengthForAPIValue(const String& text) {
|
| return text.length() - crlfCount;
|
| }
|
|
|
| -HTMLTextAreaElement::HTMLTextAreaElement(Document& document,
|
| - HTMLFormElement* form)
|
| - : TextControlElement(textareaTag, document, form),
|
| +HTMLTextAreaElement::HTMLTextAreaElement(Document& document)
|
| + : TextControlElement(textareaTag, document),
|
| m_rows(defaultRows),
|
| m_cols(defaultCols),
|
| m_wrap(SoftWrap),
|
| @@ -81,9 +80,8 @@ HTMLTextAreaElement::HTMLTextAreaElement(Document& document,
|
| m_valueIsUpToDate(true),
|
| m_isPlaceholderVisible(false) {}
|
|
|
| -HTMLTextAreaElement* HTMLTextAreaElement::create(Document& document,
|
| - HTMLFormElement* form) {
|
| - HTMLTextAreaElement* textArea = new HTMLTextAreaElement(document, form);
|
| +HTMLTextAreaElement* HTMLTextAreaElement::create(Document& document) {
|
| + HTMLTextAreaElement* textArea = new HTMLTextAreaElement(document);
|
| textArea->ensureUserAgentShadowRoot();
|
| return textArea;
|
| }
|
|
|