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

Unified Diff: base/tracked_objects.cc

Issue 6469070: More DCHECK() updates. A mixture of _EQ and _GE. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Updating pickle.h order Created 9 years, 10 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 | « base/threading/thread_local_storage_win.cc ('k') | base/win/scoped_bstr.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/tracked_objects.cc
diff --git a/base/tracked_objects.cc b/base/tracked_objects.cc
index a9f81b1a71ac65ad4282d74feabbec45a4a229e3..d10603dda8f8de8f3e6c7c832162b5cf29ae09c3 100644
--- a/base/tracked_objects.cc
+++ b/base/tracked_objects.cc
@@ -467,7 +467,7 @@ bool ThreadData::StartTracking(bool status) {
return true;
}
base::AutoLock lock(list_lock_);
- DCHECK(status_ == UNINITIALIZED);
+ DCHECK_EQ(UNINITIALIZED, status_);
CHECK(tls_index_.Initialize(NULL));
status_ = ACTIVE;
return true;
« no previous file with comments | « base/threading/thread_local_storage_win.cc ('k') | base/win/scoped_bstr.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698