From 60ea605e068242f3dd5500e081b940a1de7370f2 Mon Sep 17 00:00:00 2001 From: "david.mike.futcher@gmail.com" Date: Mon, 18 Apr 2011 20:07:08 +0000 Subject: 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 --- base/linux_util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base/linux_util.cc') 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; } -- cgit v1.1