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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerThread.h

Issue 2204183002: Prepare CompositorWorker for per thread heap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 3 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/core/workers/WorkerThread.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerThread.h b/third_party/WebKit/Source/core/workers/WorkerThread.h
index 600f1f968d3e25e94674665f5d5070c0d323ec69..97b0707ed7a7b309e06df1c1f7bee7255daa4421 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThread.h
+++ b/third_party/WebKit/Source/core/workers/WorkerThread.h
@@ -239,9 +239,9 @@ private:
// |m_threadState|, |m_runningDebuggerTask| and |m_exitCode|.
Mutex m_threadStateMutex;
- Persistent<ConsoleMessageStorage> m_consoleMessageStorage;
- Persistent<WorkerOrWorkletGlobalScope> m_globalScope;
- Persistent<WorkerInspectorController> m_workerInspectorController;
+ CrossThreadPersistent<ConsoleMessageStorage> m_consoleMessageStorage;
+ CrossThreadPersistent<WorkerOrWorkletGlobalScope> m_globalScope;
+ CrossThreadPersistent<WorkerInspectorController> m_workerInspectorController;
// Signaled when the thread completes termination on the worker thread.
std::unique_ptr<WaitableEvent> m_shutdownEvent;

Powered by Google App Engine
This is Rietveld 408576698