summaryrefslogtreecommitdiffstats
path: root/chrome/browser/safe_browsing/safe_browsing_service.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-17 22:12:39 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-17 22:12:39 +0000
commita3aaf3d6b857cdc73f837b36b05bf75bbd76b3b1 (patch)
tree2ea403ee060469194b6c1780431b22b507b1af74 /chrome/browser/safe_browsing/safe_browsing_service.cc
parent5ec8d20d92c6eabf949520370756a392db515c29 (diff)
downloadchromium_src-a3aaf3d6b857cdc73f837b36b05bf75bbd76b3b1.zip
chromium_src-a3aaf3d6b857cdc73f837b36b05bf75bbd76b3b1.tar.gz
chromium_src-a3aaf3d6b857cdc73f837b36b05bf75bbd76b3b1.tar.bz2
Fix checkfailure caused by stupidity.
BUG=23400 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32221 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/safe_browsing/safe_browsing_service.cc')
-rw-r--r--chrome/browser/safe_browsing/safe_browsing_service.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/safe_browsing/safe_browsing_service.cc b/chrome/browser/safe_browsing/safe_browsing_service.cc
index a119e09..64d1e58 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_service.cc
@@ -606,7 +606,7 @@ void SafeBrowsingService::Start() {
void SafeBrowsingService::OnCloseDatabase() {
DCHECK(MessageLoop::current() == safe_browsing_thread_->message_loop());
- DCHECK(database_available());
+ DCHECK(closing_database_);
// Because |closing_database_| is true, nothing on the IO thread will be
// accessing the database, so it's safe to delete and then NULL the pointer.