summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-30 00:40:34 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-30 00:40:34 +0000
commitd55528c7fc6a7c84666cd5e4cfec964dce93ced3 (patch)
treed2af06b4729b4c3a913a0581dc0f2cc5cd6319e0 /chrome/browser/download
parent808663e89da849cd5192bf04b1757975b7fba0f2 (diff)
downloadchromium_src-d55528c7fc6a7c84666cd5e4cfec964dce93ced3.zip
chromium_src-d55528c7fc6a7c84666cd5e4cfec964dce93ced3.tar.gz
chromium_src-d55528c7fc6a7c84666cd5e4cfec964dce93ced3.tar.bz2
Fix a UMR reported on the valgrind linux build bots while running the DownloadRequestManagerTest.Allow test
TBR=inferno Review URL: http://codereview.chromium.org/1545004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43031 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download')
-rw-r--r--chrome/browser/download/download_request_manager.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/download/download_request_manager.cc b/chrome/browser/download/download_request_manager.cc
index 9e86736..8d27abc 100644
--- a/chrome/browser/download/download_request_manager.cc
+++ b/chrome/browser/download/download_request_manager.cc
@@ -22,7 +22,8 @@ DownloadRequestManager::TabDownloadState::TabDownloadState(
: host_(host),
controller_(controller),
status_(DownloadRequestManager::ALLOW_ONE_DOWNLOAD),
- infobar_(NULL) {
+ infobar_(NULL),
+ download_count_(0) {
Source<NavigationController> notification_source(controller);
registrar_.Add(this, NotificationType::NAV_ENTRY_PENDING,
notification_source);