Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(241)

Unified Diff: base/linux_util.cc

Issue 6851016: multiple files: Move from DCHECK to DCHECK_EQ (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/linux_util.cc
diff --git a/base/linux_util.cc b/base/linux_util.cc
index 725c602e92f42400a591dab6e94324b0bc53411e..44fe45b2d7b2d1fb4363af5fd15f3be70246f152 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_, STATE_CHECK_STARTED);
Lei Zhang 2011/04/14 19:39:21 It's DCHECK_EQ(expected_result, actual_result), so
state_ = STATE_CHECK_FINISHED;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698