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

Unified Diff: base/lock_impl_win.cc

Issue 42402: Test was examining a variable without first acquiring a required Lock.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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/lock_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/lock_impl_win.cc
===================================================================
--- base/lock_impl_win.cc (revision 12119)
+++ base/lock_impl_win.cc (working copy)
@@ -66,7 +66,7 @@
// In non-debug builds, this method is declared as an empty inline method.
#ifndef NDEBUG
-void LockImpl::AssertAcquired() {
+void LockImpl::AssertAcquired() const {
DCHECK(recursion_count_shadow_ > 0);
DCHECK_EQ(owning_thread_id_, PlatformThread::CurrentId());
}
« no previous file with comments | « base/lock_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698