From 8fe650c2437a58ebdbf373a80a93582ff3e5ac48 Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Sat, 14 Sep 2013 05:27:08 +0000 Subject: base: Rename OSLockType to NativeHandle in Lock API. This inline us more with the standard http://en.cppreference.com/w/cpp/thread/mutex. BUG=283054 TEST=base_unittests R=brettw@chromium.org, darin@chromium.org Review URL: https://chromiumcodereview.appspot.com/23753006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223227 0039d316-1c4b-4281-b951-d872f2087c98 --- base/synchronization/condition_variable_win.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base/synchronization/condition_variable_win.cc') 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(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(); -- cgit v1.1