Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(479)

Unified Diff: third_party/WebKit/Source/web/WebKit.cpp

Issue 1477023003: Refactor the Heap into ThreadHeap to prepare for per thread heaps Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactored Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698