| Index: Source/core/html/forms/FileInputType.cpp
|
| diff --git a/Source/core/html/forms/FileInputType.cpp b/Source/core/html/forms/FileInputType.cpp
|
| index 0a2975f659f4e091aa319a69f10a21df8d97aa65..8b9b694c59920531457f692f538353fd282f3678 100644
|
| --- a/Source/core/html/forms/FileInputType.cpp
|
| +++ b/Source/core/html/forms/FileInputType.cpp
|
| @@ -23,6 +23,7 @@
|
| #include "core/html/forms/FileInputType.h"
|
|
|
| #include "HTMLNames.h"
|
| +#include "InputTypeNames.h"
|
| #include "RuntimeEnabledFeatures.h"
|
| #include "bindings/v8/ExceptionStatePlaceholder.h"
|
| #include "core/dom/shadow/ShadowRoot.h"
|
| @@ -32,7 +33,6 @@
|
| #include "core/html/FormDataList.h"
|
| #include "core/html/HTMLInputElement.h"
|
| #include "core/html/forms/FormController.h"
|
| -#include "core/html/forms/InputTypeNames.h"
|
| #include "core/page/Chrome.h"
|
| #include "core/page/DragData.h"
|
| #include "core/rendering/RenderFileUploadControl.h"
|
| @@ -73,7 +73,7 @@ Vector<FileChooserFileInfo> FileInputType::filesFromFormControlState(const FormC
|
|
|
| const AtomicString& FileInputType::formControlType() const
|
| {
|
| - return InputTypeNames::file();
|
| + return InputTypeNames::file;
|
| }
|
|
|
| FormControlState FileInputType::saveFormControlState() const
|
| @@ -248,7 +248,7 @@ void FileInputType::createShadowSubtree()
|
| {
|
| ASSERT(element().shadow());
|
| RefPtr<HTMLInputElement> button = HTMLInputElement::create(element().document(), 0, false);
|
| - button->setType(InputTypeNames::button());
|
| + button->setType(InputTypeNames::button);
|
| button->setAttribute(valueAttr, locale().queryString(element().multiple() ? WebLocalizedString::FileButtonChooseMultipleFilesLabel : WebLocalizedString::FileButtonChooseFileLabel));
|
| button->setPart(AtomicString("-webkit-file-upload-button", AtomicString::ConstructFromLiteral));
|
| element().userAgentShadowRoot()->appendChild(button.release());
|
|
|