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

Unified Diff: Source/core/html/forms/FileInputType.cpp

Issue 66643004: Remove QualifiedName argument from most HTMLElement::create functions (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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: Source/core/html/forms/FileInputType.cpp
diff --git a/Source/core/html/forms/FileInputType.cpp b/Source/core/html/forms/FileInputType.cpp
index f4d549dd78b2db38859337b74e877f2fa8e235ca..f568ad3965f762336c2322e45b5609a03129d960 100644
--- a/Source/core/html/forms/FileInputType.cpp
+++ b/Source/core/html/forms/FileInputType.cpp
@@ -247,7 +247,7 @@ bool FileInputType::isFileUpload() const
void FileInputType::createShadowSubtree()
{
ASSERT(element().shadow());
- RefPtr<HTMLInputElement> button = HTMLInputElement::create(inputTag, element().document(), 0, false);
+ RefPtr<HTMLInputElement> button = HTMLInputElement::create(element().document(), 0, false);
button->setType(InputTypeNames::button());
button->setAttribute(valueAttr, locale().queryString(element().multiple() ? WebLocalizedString::FileButtonChooseMultipleFilesLabel : WebLocalizedString::FileButtonChooseFileLabel));
button->setPart(AtomicString("-webkit-file-upload-button", AtomicString::ConstructFromLiteral));

Powered by Google App Engine
This is Rietveld 408576698