Index: content/browser/web_contents/web_drag_dest_gtk.cc |
diff --git a/content/browser/web_contents/web_drag_dest_gtk.cc b/content/browser/web_contents/web_drag_dest_gtk.cc |
index 0594a2e2b0506416b8f87444639f8aeb769af980..34a61c31d0fb2a51ab3d04bd97926430cce00f47 100644 |
--- a/content/browser/web_contents/web_drag_dest_gtk.cc |
+++ b/content/browser/web_contents/web_drag_dest_gtk.cc |
@@ -209,8 +209,7 @@ void WebDragDestGtk::OnDragDataReceived( |
if (url.SchemeIs(kFileScheme) && |
net::FileURLToFilePath(url, &file_path)) { |
drop_data_->filenames.push_back( |
- DropData::FileInfo(base::UTF8ToUTF16(file_path.value()), |
- base::string16())); |
+ ui::FileInfo(file_path, base::FilePath())); |
// This is a hack. Some file managers also populate text/plain with |
// a file URL when dragging files, so we clear it to avoid exposing |
// it to the web content. |