| Index: Source/core/html/forms/FileInputType.cpp
|
| diff --git a/Source/core/html/forms/FileInputType.cpp b/Source/core/html/forms/FileInputType.cpp
|
| index c344106da44550d1bae998a3cdd71e4246b2e0df..7cfa4b89b2b636b2f9fea19a84a76d0dc28a0b6c 100644
|
| --- a/Source/core/html/forms/FileInputType.cpp
|
| +++ b/Source/core/html/forms/FileInputType.cpp
|
| @@ -246,7 +246,7 @@ PassRefPtrWillBeRawPtr<FileList> FileInputType::createFileList(const Vector<File
|
| }
|
|
|
| for (size_t i = 0; i < size; i++)
|
| - fileList->append(File::createWithName(files[i].path, files[i].displayName, File::AllContentTypes));
|
| + fileList->append(File::createForUserProvidedFile(files[i].path, files[i].displayName));
|
| return fileList;
|
| }
|
|
|
|
|