| Index: chrome/browser/download/drag_download_item_views.cc
|
| diff --git a/chrome/browser/download/drag_download_item_views.cc b/chrome/browser/download/drag_download_item_views.cc
|
| index 5cad8405adfd15b7d8865d0863f134218aa94cc8..2fced53c23b445ca21cb82a858d5346e4a73e6ec 100644
|
| --- a/chrome/browser/download/drag_download_item_views.cc
|
| +++ b/chrome/browser/download/drag_download_item_views.cc
|
| @@ -12,6 +12,7 @@
|
| #include "net/base/net_util.h"
|
| #include "ui/base/dragdrop/drag_drop_types.h"
|
| #include "ui/base/dragdrop/drag_utils.h"
|
| +#include "ui/base/dragdrop/file_info.h"
|
| #include "ui/base/dragdrop/os_exchange_data.h"
|
| #include "ui/gfx/image/image.h"
|
| #include "ui/gfx/image/image_skia.h"
|
| @@ -54,9 +55,9 @@ void DragDownloadItem(const content::DownloadItem* download,
|
| drive_download_handler->IsDriveDownload(download))
|
| full_path = drive_download_handler->GetCacheFilePath(download);
|
| #endif
|
| - std::vector<ui::OSExchangeData::FileInfo> file_infos;
|
| - file_infos.push_back(ui::OSExchangeData::FileInfo(
|
| - full_path, download->GetFileNameToReportUser()));
|
| + std::vector<ui::FileInfo> file_infos;
|
| + file_infos.push_back(
|
| + ui::FileInfo(full_path, download->GetFileNameToReportUser()));
|
| data.SetFilenames(file_infos);
|
|
|
| // Add URL so that we can load supported files when dragged to WebContents.
|
|
|