OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 #include "platform/wtf/SpinLock.h" |
6 #define WTF_SpinLock_h | |
7 | 6 |
8 #include "base/allocator/partition_allocator/spin_lock.h" | 7 // The contents of this header was moved to platform/wtf as part of |
9 #include "base/macros.h" | 8 // WTF migration project. See the following post for details: |
10 | 9 // https://groups.google.com/a/chromium.org/d/msg/blink-dev/tLdAZCTlcAA/bYXVT8gY
CAAJ |
11 namespace WTF { | |
12 | |
13 // WTF::SpinLock is base::SpinLock. See | |
14 // base/allocator/partition_allocator/spin_lock.h for documentation. | |
15 using SpinLock = base::subtle::SpinLock; | |
16 | |
17 } // namespace WTF | |
18 | |
19 using WTF::SpinLock; | |
20 | |
21 #endif // WTF_SpinLock_h | |
OLD | NEW |