summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/backend_impl.cc
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-21 01:34:16 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-21 01:34:16 +0000
commitaef050626d6412bffa292cbfcee23107cadc4b5d (patch)
tree284b984780abb88b8a54fb56da104b58a4e2f38e /net/disk_cache/backend_impl.cc
parent3fbb9b1503c174d38e6134d8863d0649b4fa93b7 (diff)
downloadchromium_src-aef050626d6412bffa292cbfcee23107cadc4b5d.zip
chromium_src-aef050626d6412bffa292cbfcee23107cadc4b5d.tar.gz
chromium_src-aef050626d6412bffa292cbfcee23107cadc4b5d.tar.bz2
Fix WaitForPendingIO to actually exit the wait at some point.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1143 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/backend_impl.cc')
-rw-r--r--net/disk_cache/backend_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/backend_impl.cc b/net/disk_cache/backend_impl.cc
index 74eabbc..9b15d5e 100644
--- a/net/disk_cache/backend_impl.cc
+++ b/net/disk_cache/backend_impl.cc
@@ -262,7 +262,7 @@ BackendImpl::~BackendImpl() {
delete timer_;
delete timer_task_;
- WaitForPendingIO(num_pending_io_);
+ WaitForPendingIO(&num_pending_io_);
DCHECK(!num_refs_);
}