Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Unified Diff: content/browser/download/download_item_impl.cc

Issue 10916201: Make the SavePackage use of the fake download item cleaner around cancellation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/download/download_item_impl.cc
diff --git a/content/browser/download/download_item_impl.cc b/content/browser/download/download_item_impl.cc
index a4de17ed89a0c9f104391c9e57584601978ce94f..813155e66b4f8751f504cc7431e6876426302390 100644
--- a/content/browser/download/download_item_impl.cc
+++ b/content/browser/download/download_item_impl.cc
@@ -940,6 +940,7 @@ void DownloadItemImpl::MarkAsComplete() {
void DownloadItemImpl::SetIsPersisted() {
is_persisted_ = true;
+ UpdateObservers();
}
void DownloadItemImpl::SetDbHandle(int64 handle) {

Powered by Google App Engine
This is Rietveld 408576698