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

Unified Diff: third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThread.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: 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/modules/compositorworker/CompositorWorkerThread.cpp
diff --git a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThread.cpp b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThread.cpp
index a1b4eef81f3208f80a5b6017a9053429843463bc..b5eb30d2bee28602f86513c7c9a30066e8bf135c 100644
--- a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThread.cpp
+++ b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThread.cpp
@@ -39,7 +39,7 @@ public:
if (!m_thread && isMainThread()) {
ASSERT(!m_workerCount);
WebThread* platformThread = Platform::current()->compositorThread();
- m_thread = WebThreadSupportingGC::createForThread(platformThread);
+ m_thread = WebThreadSupportingGC::createForThread(platformThread, ThreadState::PerThreadHeapDisabled);
}
return m_thread.get();
}

Powered by Google App Engine
This is Rietveld 408576698