diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-14 05:27:08 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-14 05:27:08 +0000 |
commit | 8fe650c2437a58ebdbf373a80a93582ff3e5ac48 (patch) | |
tree | c3966ff7462a20fbc0049be15e244a9363377af0 /base/synchronization/condition_variable_win.cc | |
parent | d5c9e4badf70cfe6f0e4e7230f446c702571d2e5 (diff) | |
download | chromium_src-8fe650c2437a58ebdbf373a80a93582ff3e5ac48.zip chromium_src-8fe650c2437a58ebdbf373a80a93582ff3e5ac48.tar.gz chromium_src-8fe650c2437a58ebdbf373a80a93582ff3e5ac48.tar.bz2 |
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
Diffstat (limited to 'base/synchronization/condition_variable_win.cc')
-rw-r--r-- | base/synchronization/condition_variable_win.cc | 2 |
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(); |