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

Unified Diff: chrome/browser/download/save_package.cc

Issue 218036: Coverity: Initialize tab_contents_ and wait_state_ in the constructor.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/save_package.cc
===================================================================
--- chrome/browser/download/save_package.cc (revision 27014)
+++ chrome/browser/download/save_package.cc (working copy)
@@ -167,6 +167,7 @@
SavePackage::SavePackage(const FilePath& file_full_path,
const FilePath& directory_full_path)
: file_manager_(NULL),
+ tab_contents_(NULL),
download_(NULL),
saved_main_file_path_(file_full_path),
saved_main_directory_path_(directory_full_path),
@@ -175,6 +176,7 @@
disk_error_occurred_(false),
save_type_(SAVE_TYPE_UNKNOWN),
all_save_items_count_(0),
+ wait_state_(INITIALIZE),
tab_id_(0) {
DCHECK(!saved_main_file_path_.empty() &&
saved_main_file_path_.value().length() <= kMaxFilePathLength);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698