summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authordavid.mike.futcher@gmail.com <david.mike.futcher@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-18 20:07:08 +0000
committerdavid.mike.futcher@gmail.com <david.mike.futcher@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-18 20:07:08 +0000
commit60ea605e068242f3dd5500e081b940a1de7370f2 (patch)
treea7d3bbb61f7d794d1646ed5a7ebfd7c0ac13acf8 /base
parentc13014b1b5e1a8a5a6faef68ee9ad3ec123424a8 (diff)
downloadchromium_src-60ea605e068242f3dd5500e081b940a1de7370f2.zip
chromium_src-60ea605e068242f3dd5500e081b940a1de7370f2.tar.gz
chromium_src-60ea605e068242f3dd5500e081b940a1de7370f2.tar.bz2
Replacing outdated DCHECK(a == b) with DCHECK_EQ(a, b).
This is my first attempt at contributing, so please tell me where I'm going wrong. BUG=58409 TEST= Review URL: http://codereview.chromium.org/6851016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81988 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/linux_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/linux_util.cc b/base/linux_util.cc
index 725c602..2f9f862 100644
--- a/base/linux_util.cc
+++ b/base/linux_util.cc
@@ -62,7 +62,7 @@ class LinuxDistroHelper {
// Indicate the check finished, move to STATE_CHECK_FINISHED.
void CheckFinished() {
base::AutoLock scoped_lock(lock_);
- DCHECK(state_ == STATE_CHECK_STARTED);
+ DCHECK_EQ(STATE_CHECK_STARTED, state_);
state_ = STATE_CHECK_FINISHED;
}