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

Unified Diff: base/synchronization/lock_impl_win.cc

Issue 2949953002: Make LockImpl::Unlock available for inlining (Closed)
Patch Set: Created 3 years, 6 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/synchronization/lock_impl_posix.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/synchronization/lock_impl_win.cc
diff --git a/base/synchronization/lock_impl_win.cc b/base/synchronization/lock_impl_win.cc
index 31f95f4e394ba6af3bc52e8b4472251a7d35740b..7a2ff72fc8d6a2fd98efd344de5cb432d17fe7c3 100644
--- a/base/synchronization/lock_impl_win.cc
+++ b/base/synchronization/lock_impl_win.cc
@@ -22,9 +22,5 @@ void LockImpl::Lock() {
::AcquireSRWLockExclusive(&native_handle_);
}
-void LockImpl::Unlock() {
- ::ReleaseSRWLockExclusive(&native_handle_);
-}
-
} // namespace internal
} // namespace base
« no previous file with comments | « base/synchronization/lock_impl_posix.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698