summaryrefslogtreecommitdiffstats
path: root/base/lock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/lock.cc')
-rw-r--r--base/lock.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/base/lock.cc b/base/lock.cc
index 1dd4dc1..c2f79c7 100644
--- a/base/lock.cc
+++ b/base/lock.cc
@@ -43,8 +43,7 @@ void Lock::Acquire() {
acquisition_count_++;
if (2 == recursion_count_shadow_ && !recursion_used_) {
recursion_used_ = true;
- // TODO(sky): Uncomment this DCHECK after fixing test cases.
- // DCHECK(false); // Catch accidental redundant lock acquisition.
+ DCHECK(false); // Catch accidental redundant lock acquisition.
}
#endif // NDEBUG
}