Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(328)

Unified Diff: third_party/WebKit/Source/core/html/HTMLInputElement.cpp

Issue 2561043002: Clean-up after Form Association Refactoring (Closed)
Patch Set: Removed constructorNeedsFormElement from scripts and HTMLTagNames Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLInputElement.h ('k') | third_party/WebKit/Source/core/html/HTMLInputElementTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698