summaryrefslogtreecommitdiffstats
path: root/base/synchronization/condition_variable_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/synchronization/condition_variable_win.cc')
-rw-r--r--base/synchronization/condition_variable_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/synchronization/condition_variable_win.cc b/base/synchronization/condition_variable_win.cc
index bf0d5f3..927362a 100644
--- a/base/synchronization/condition_variable_win.cc
+++ b/base/synchronization/condition_variable_win.cc
@@ -97,7 +97,7 @@ void WinVistaCondVar::Wait() {
void WinVistaCondVar::TimedWait(const TimeDelta& max_time) {
base::ThreadRestrictions::AssertWaitAllowed();
DWORD timeout = static_cast<DWORD>(max_time.InMilliseconds());
- CRITICAL_SECTION* cs = user_lock_.lock_.os_lock();
+ CRITICAL_SECTION* cs = user_lock_.lock_.native_handle();
#if !defined(NDEBUG)
user_lock_.CheckHeldAndUnmark();