Index: chrome/browser/download/download_item.cc |
diff --git a/chrome/browser/download/download_item.cc b/chrome/browser/download/download_item.cc |
index f6bee14b83bd482addfac21ec8bc31f49451465d..69fa1edcb8302a7e2c01ca7e7e1ba2f58432e93e 100644 |
--- a/chrome/browser/download/download_item.cc |
+++ b/chrome/browser/download/download_item.cc |
@@ -194,6 +194,13 @@ void DownloadItem::UpdateObservers() { |
void DownloadItem::NotifyObserversDownloadFileCompleted() { |
FOR_EACH_OBSERVER(Observer, observers_, OnDownloadFileCompleted(this)); |
+ |
+ BrowserThread::PostTask( |
+ BrowserThread::UI, |
+ FROM_HERE, |
+ NewRunnableMethod(download_manager_, |
+ &DownloadManager::OnDownloadFileCompleted, |
+ id())); |
Randy Smith (Not in Mondays)
2011/01/03 22:02:22
Oh, what a tangled web we're trying to unweave :-J
ahendrickson
2011/01/04 16:51:38
Hmm, looking at the |DownloadItem| code, I don't s
|
} |
bool DownloadItem::CanOpenDownload() { |