Chromium Code Reviews| Index: Source/core/html/forms/FileInputType.cpp |
| diff --git a/Source/core/html/forms/FileInputType.cpp b/Source/core/html/forms/FileInputType.cpp |
| index e26e55da239b8c0b749554b755b74ad80afc1be9..f650891cf029fb72d5e97e51249a101c47d9a9c3 100644 |
| --- a/Source/core/html/forms/FileInputType.cpp |
| +++ b/Source/core/html/forms/FileInputType.cpp |
| @@ -33,6 +33,7 @@ |
| #include "core/html/HTMLInputElement.h" |
| #include "core/html/forms/FormController.h" |
| #include "core/page/Chrome.h" |
| +#include "core/page/DragController.h" |
|
tkent
2014/11/17 08:09:46
Remove this.
hirono
2014/11/17 08:14:44
Done.
|
| #include "core/page/DragData.h" |
| #include "core/rendering/RenderFileUploadControl.h" |
| #include "platform/FileMetadata.h" |
| @@ -336,7 +337,7 @@ void FileInputType::receiveDropForDirectoryUpload(const Vector<String>& paths) |
| bool FileInputType::receiveDroppedFiles(const DragData* dragData) |
| { |
| Vector<String> paths; |
| - dragData->asFilenames(paths); |
| + dragData->asFilePaths(paths); |
| if (paths.isEmpty()) |
| return false; |