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

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: 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
Index: base/tracked_objects.cc
diff --git a/base/tracked_objects.cc b/base/tracked_objects.cc
index a9f81b1a71ac65ad4282d74feabbec45a4a229e3..ef5b918278e165e29f2a616ba884f9bf2f006348 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(status_, UNINITIALIZED);
CHECK(tls_index_.Initialize(NULL));
status_ = ACTIVE;
return true;

Powered by Google App Engine
This is Rietveld 408576698