diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-30 00:40:34 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-30 00:40:34 +0000 |
commit | d55528c7fc6a7c84666cd5e4cfec964dce93ced3 (patch) | |
tree | d2af06b4729b4c3a913a0581dc0f2cc5cd6319e0 /chrome/browser/download | |
parent | 808663e89da849cd5192bf04b1757975b7fba0f2 (diff) | |
download | chromium_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.cc | 3 |
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); |