| Index: third_party/WebKit/Source/core/page/DragController.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/DragController.cpp b/third_party/WebKit/Source/core/page/DragController.cpp
|
| index 2d8151091ced750a11e9f8fd43112388e55c2220..a35abcee6be6c49374215f2f42c26352dbb52492 100644
|
| --- a/third_party/WebKit/Source/core/page/DragController.cpp
|
| +++ b/third_party/WebKit/Source/core/page/DragController.cpp
|
| @@ -386,9 +386,7 @@ bool DragController::tryDocumentDrag(DragData* dragData, DragDestinationAction a
|
| dragSession.mouseIsOverFileInput = m_fileInputElementUnderMouse;
|
| dragSession.numberOfItemsToBeAccepted = 0;
|
|
|
| - Vector<String> paths;
|
| - dragData->asFilePaths(paths);
|
| - const unsigned numberOfFiles = paths.size();
|
| + const unsigned numberOfFiles = dragData->numberOfFiles();
|
| if (m_fileInputElementUnderMouse) {
|
| if (m_fileInputElementUnderMouse->isDisabledFormControl())
|
| dragSession.numberOfItemsToBeAccepted = 0;
|
|
|