| Index: third_party/WebKit/Source/platform/heap/ThreadState.h
|
| diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.h b/third_party/WebKit/Source/platform/heap/ThreadState.h
|
| index 95e373a6ad8cf4fe33127f1771e751b11e52b90a..b79e6aa6c16d5fc052f06936dca555144008616f 100644
|
| --- a/third_party/WebKit/Source/platform/heap/ThreadState.h
|
| +++ b/third_party/WebKit/Source/platform/heap/ThreadState.h
|
| @@ -31,6 +31,7 @@
|
| #ifndef ThreadState_h
|
| #define ThreadState_h
|
|
|
| +#include <memory>
|
| #include "platform/PlatformExport.h"
|
| #include "platform/heap/BlinkGC.h"
|
| #include "platform/heap/ThreadingTraits.h"
|
| @@ -44,7 +45,6 @@
|
| #include "wtf/ThreadSpecific.h"
|
| #include "wtf/Threading.h"
|
| #include "wtf/ThreadingPrimitives.h"
|
| -#include <memory>
|
|
|
| namespace v8 {
|
| class Isolate;
|
| @@ -173,9 +173,7 @@ class PLATFORM_EXPORT ThreadState {
|
| // can no longer use the garbage collected heap after this call.
|
| static void detachCurrentThread();
|
|
|
| - static ThreadState* current() {
|
| - return **s_threadSpecific;
|
| - }
|
| + static ThreadState* current() { return **s_threadSpecific; }
|
|
|
| static ThreadState* mainThreadState() {
|
| return reinterpret_cast<ThreadState*>(s_mainThreadStateStorage);
|
|
|