diff options
author | kushi.p@gmail.com <kushi.p@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-25 12:54:50 +0000 |
---|---|---|
committer | kushi.p@gmail.com <kushi.p@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-25 12:54:50 +0000 |
commit | f657438ad79ff070f820d958a3161b11f615160c (patch) | |
tree | c6a45e8e9ea36831dd1ca0e30b3f6b03dad37890 /chrome/browser/background_mode_manager.cc | |
parent | a6a99988267d12f76fa032848d711939f7c8ea85 (diff) | |
download | chromium_src-f657438ad79ff070f820d958a3161b11f615160c.zip chromium_src-f657438ad79ff070f820d958a3161b11f615160c.tar.gz chromium_src-f657438ad79ff070f820d958a3161b11f615160c.tar.bz2 |
Further improvements to DCHECK() usage, within /src/chrome
BUG=58409
Review URL: http://codereview.chromium.org/6898019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82853 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/background_mode_manager.cc')
-rw-r--r-- | chrome/browser/background_mode_manager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/background_mode_manager.cc b/chrome/browser/background_mode_manager.cc index 123e2f7..a97372a 100644 --- a/chrome/browser/background_mode_manager.cc +++ b/chrome/browser/background_mode_manager.cc @@ -200,7 +200,7 @@ void BackgroundModeManager::OnBackgroundAppUnloaded() { // When a background app unloads, decrement our count and also end // KeepAlive mode if appropriate. background_app_count_--; - DCHECK(background_app_count_ >= 0); + DCHECK_GE(background_app_count_, 0); if (background_app_count_ == 0) EndBackgroundMode(); } |