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

Unified Diff: base/lock_impl.h

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.h ('k') | base/lock_impl_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/lock_impl.h
===================================================================
--- base/lock_impl.h (revision 12119)
+++ base/lock_impl.h (working copy)
@@ -47,9 +47,9 @@
// through the os_lock() method, runtime assertions can not be done on those
// builds.
#if defined(NDEBUG) || !defined(OS_WIN)
- void AssertAcquired() {}
+ void AssertAcquired() const {}
#else
- void AssertAcquired();
+ void AssertAcquired() const;
#endif
// Return the native underlying lock. Not supported for Windows builds.
« no previous file with comments | « base/lock.h ('k') | base/lock_impl_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698