summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/downloads_dom_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/dom_ui/downloads_dom_handler.cc')
-rw-r--r--chrome/browser/dom_ui/downloads_dom_handler.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/dom_ui/downloads_dom_handler.cc b/chrome/browser/dom_ui/downloads_dom_handler.cc
index e193db3..e94ac0a 100644
--- a/chrome/browser/dom_ui/downloads_dom_handler.cc
+++ b/chrome/browser/dom_ui/downloads_dom_handler.cc
@@ -159,7 +159,8 @@ void DownloadsDOMHandler::HandleDrag(const ListValue* args) {
DownloadItem* file = GetDownloadByValue(args);
if (file) {
IconManager* im = g_browser_process->icon_manager();
- SkBitmap* icon = im->LookupIcon(file->full_path(), IconLoader::NORMAL);
+ SkBitmap* icon = im->LookupIcon(file->GetUserVerifiedFileName(),
+ IconLoader::NORMAL);
gfx::NativeView view = dom_ui_->tab_contents()->GetNativeView();
download_util::DragDownload(file, icon, view);
}