Index: chrome/browser/download/download_util.cc |
diff --git a/chrome/browser/download/download_util.cc b/chrome/browser/download/download_util.cc |
index 90d045b90270df579dbd6eb74d244452b24c81b3..26a05a5913bbdce8b79fa9993fa02988b284503b 100644 |
--- a/chrome/browser/download/download_util.cc |
+++ b/chrome/browser/download/download_util.cc |
@@ -348,6 +348,7 @@ void DragDownload(const DownloadItem* download, |
gfx::Image* icon, |
gfx::NativeView view) { |
DCHECK(download); |
+ DCHECK(download->IsComplete()); |
// Set up our OLE machinery |
ui::OSExchangeData data; |
@@ -357,7 +358,7 @@ void DragDownload(const DownloadItem* download, |
download->GetFileNameToReportUser(), icon->ToImageSkia(), &data); |
} |
- const FilePath full_path = download->GetFullPath(); |
+ const FilePath full_path = download->GetTargetFilePath(); |
data.SetFilename(full_path); |
std::string mime_type = download->GetMimeType(); |