Chromium Code Reviews| Index: third_party/WebKit/Source/web/WebKit.cpp |
| diff --git a/third_party/WebKit/Source/web/WebKit.cpp b/third_party/WebKit/Source/web/WebKit.cpp |
| index 7e5939386ba327ecb563d1962b6ba90bb434647b..3a059e0900b5df8193e61a18ea90a0c62a5f450c 100644 |
| --- a/third_party/WebKit/Source/web/WebKit.cpp |
| +++ b/third_party/WebKit/Source/web/WebKit.cpp |
| @@ -171,7 +171,7 @@ void initializeWithoutV8(Platform* platform) |
| WTF::initializeMainThread(callOnMainThreadFunction); |
| Heap::init(); |
| - ThreadState::attachMainThread(); |
| + ThreadState::prepareForMainThread(); |
|
haraken
2016/01/28 15:52:50
Nit: I'd prefer keeping "attach"/"attachMainThread
keishi
2016/02/29 06:02:34
Done.
|
| // currentThread() is null if we are running on a thread without a message loop. |
| if (WebThread* currentThread = platform->currentThread()) { |
| ASSERT(!s_gcTaskRunner); |