| Index: chrome/browser/ui/views/tab_contents/tab_contents_drag_win.cc
|
| diff --git a/chrome/browser/ui/views/tab_contents/tab_contents_drag_win.cc b/chrome/browser/ui/views/tab_contents/tab_contents_drag_win.cc
|
| index 64265e095e082cba6a7436a9b8deadda64b28ba0..2590c692c2b64b942ad643054425325acdbe95c6 100644
|
| --- a/chrome/browser/ui/views/tab_contents/tab_contents_drag_win.cc
|
| +++ b/chrome/browser/ui/views/tab_contents/tab_contents_drag_win.cc
|
| @@ -231,7 +231,8 @@ void TabContentsDragWin::PrepareDragForFileContents(
|
| file_name = file_name.BaseName().RemoveExtension();
|
| if (file_name.value().empty()) {
|
| // Retrieve the name from the URL.
|
| - file_name = net::GetSuggestedFilename(drop_data.url, "", "", FilePath());
|
| + file_name = FilePath(
|
| + net::GetSuggestedFilename(drop_data.url, "", "", string16()));
|
| if (file_name.value().size() + drop_data.file_extension.size() + 1 >
|
| MAX_PATH) {
|
| file_name = FilePath(file_name.value().substr(
|
|
|