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

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

Issue 7966016: Fix lack of initialization for delegate delayed complete flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix suppressions that should be fixed by this test. Created 9 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
« no previous file with comments | « chrome/test/functional/PYAUTO_TESTS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_item.cc
diff --git a/content/browser/download/download_item.cc b/content/browser/download/download_item.cc
index d37cd514991b1e981265847481ffa43018e9aab3..c201711426a5941f6ed372faa024aa73704a229e 100644
--- a/content/browser/download/download_item.cc
+++ b/content/browser/download/download_item.cc
@@ -183,7 +183,8 @@ DownloadItem::DownloadItem(DownloadManager* download_manager,
is_temporary_(!info.save_info.file_path.empty()),
all_data_saved_(false),
opened_(false),
- open_enabled_(true) {
+ open_enabled_(true),
+ delegate_delayed_complete_(false) {
Init(true /* actively downloading */);
}
@@ -214,7 +215,8 @@ DownloadItem::DownloadItem(DownloadManager* download_manager,
is_temporary_(false),
all_data_saved_(false),
opened_(false),
- open_enabled_(true) {
+ open_enabled_(true),
+ delegate_delayed_complete_(false) {
Init(true /* actively downloading */);
}
« no previous file with comments | « chrome/test/functional/PYAUTO_TESTS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698