| Index: third_party/WebKit/Source/wtf/Threading.h
|
| diff --git a/third_party/WebKit/Source/wtf/Threading.h b/third_party/WebKit/Source/wtf/Threading.h
|
| index 784470c708f8127ea9ce008e5513abf44b03d130..4c78f2256b1711ac5a56d97a05ce692b0f69ed0d 100644
|
| --- a/third_party/WebKit/Source/wtf/Threading.h
|
| +++ b/third_party/WebKit/Source/wtf/Threading.h
|
| @@ -47,6 +47,10 @@ namespace internal {
|
| WTF_EXPORT ThreadIdentifier currentThreadSyscall();
|
| } // namespace internal
|
|
|
| +// Initializes global state required by |currentThread|.
|
| +// Needs to be called once during program execution, before |currentThread|.
|
| +WTF_EXPORT void initializeCurrentThread();
|
| +
|
| WTF_EXPORT ThreadIdentifier currentThread();
|
|
|
| #if DCHECK_IS_ON()
|
|
|