summaryrefslogtreecommitdiffstats
path: root/base/lock_impl_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/lock_impl_win.cc')
-rw-r--r--base/lock_impl_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/lock_impl_win.cc b/base/lock_impl_win.cc
index 503f105..0f0e424 100644
--- a/base/lock_impl_win.cc
+++ b/base/lock_impl_win.cc
@@ -66,7 +66,7 @@ void LockImpl::Unlock() {
// 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());
}