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

Unified Diff: third_party/WebKit/Source/core/html/forms/FileInputType.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/forms/FileInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/FileInputType.cpp b/third_party/WebKit/Source/core/html/forms/FileInputType.cpp
index 70eb51205910cc1ba3927cc6cc278df25f619a59..4b4488beaf6a478d5f7b547e8bd0db3484f7004a 100644
--- a/third_party/WebKit/Source/core/html/forms/FileInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/FileInputType.cpp
@@ -259,7 +259,7 @@ void FileInputType::countUsage() {
void FileInputType::createShadowSubtree() {
DCHECK(element().shadow());
HTMLInputElement* button =
- HTMLInputElement::create(element().document(), 0, false);
+ HTMLInputElement::create(element().document(), false);
button->setType(InputTypeNames::button);
button->setAttribute(
valueAttr,

Powered by Google App Engine
This is Rietveld 408576698