| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WTF_SpinLock_h | 5 #ifndef WTF_SpinLock_h |
| 6 #define WTF_SpinLock_h | 6 #define WTF_SpinLock_h |
| 7 | 7 |
| 8 #include "base/allocator/partition_allocator/spin_lock.h" |
| 8 #include "base/macros.h" | 9 #include "base/macros.h" |
| 9 #include "base/synchronization/spin_lock.h" | |
| 10 | 10 |
| 11 namespace WTF { | 11 namespace WTF { |
| 12 | 12 |
| 13 // WTF::SpinLock is base::SpinLock. See base/synchronization/spin_lock.h for | 13 // WTF::SpinLock is base::SpinLock. See |
| 14 // documentation. | 14 // base/allocator/partition_allocator/spin_lock.h for documentation. |
| 15 using SpinLock = base::subtle::SpinLock; | 15 using SpinLock = base::subtle::SpinLock; |
| 16 | 16 |
| 17 } // namespace WTF | 17 } // namespace WTF |
| 18 | 18 |
| 19 using WTF::SpinLock; | 19 using WTF::SpinLock; |
| 20 | 20 |
| 21 #endif // WTF_SpinLock_h | 21 #endif // WTF_SpinLock_h |
| OLD | NEW |