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

Unified Diff: third_party/WebKit/Source/core/html/forms/FileInputTypeTest.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/FileInputTypeTest.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/FileInputTypeTest.cpp b/third_party/WebKit/Source/core/html/forms/FileInputTypeTest.cpp
index 010599dc69624b8c6ed20f45667998f06f7f1f04..3e8f3b884d5c4b68a651fcf6a1555995c67bac3b 100644
--- a/third_party/WebKit/Source/core/html/forms/FileInputTypeTest.cpp
+++ b/third_party/WebKit/Source/core/html/forms/FileInputTypeTest.cpp
@@ -46,7 +46,7 @@ TEST(FileInputTypeTest, createFileList) {
TEST(FileInputTypeTest, ignoreDroppedNonNativeFiles) {
Document* document = Document::create();
- HTMLInputElement* input = HTMLInputElement::create(*document, nullptr, false);
+ HTMLInputElement* input = HTMLInputElement::create(*document, false);
InputType* fileInput = FileInputType::create(*input);
DataObject* nativeFileRawDragData = DataObject::create();
@@ -78,7 +78,7 @@ TEST(FileInputTypeTest, ignoreDroppedNonNativeFiles) {
TEST(FileInputTypeTest, setFilesFromPaths) {
Document* document = Document::create();
- HTMLInputElement* input = HTMLInputElement::create(*document, nullptr, false);
+ HTMLInputElement* input = HTMLInputElement::create(*document, false);
InputType* fileInput = FileInputType::create(*input);
Vector<String> paths;
paths.append("/native/path");

Powered by Google App Engine
This is Rietveld 408576698