Index: third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
index 1d1fc3b29b17641308b1d063597918da10c980d4..c4c2d2698cc774a8d858dad2cbd908c2166ebf8f 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
@@ -96,10 +96,8 @@ class ListAttributeTargetObserver : public IdTargetObserver { |
const int defaultSize = 20; |
-HTMLInputElement::HTMLInputElement(Document& document, |
- HTMLFormElement* form, |
- bool createdByParser) |
- : TextControlElement(inputTag, document, form), |
+HTMLInputElement::HTMLInputElement(Document& document, bool createdByParser) |
+ : TextControlElement(inputTag, document), |
m_size(defaultSize), |
m_hasDirtyValue(false), |
m_isChecked(false), |
@@ -125,10 +123,9 @@ HTMLInputElement::HTMLInputElement(Document& document, |
} |
HTMLInputElement* HTMLInputElement::create(Document& document, |
- HTMLFormElement* form, |
bool createdByParser) { |
HTMLInputElement* inputElement = |
- new HTMLInputElement(document, form, createdByParser); |
+ new HTMLInputElement(document, createdByParser); |
if (!createdByParser) |
inputElement->ensureUserAgentShadowRoot(); |
return inputElement; |