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

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 752ff21cd5d89114e9063ec25611306eaa1852b7..70a171fb4df8b8e0f3ec78208e9500610923e8e6 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThread.h
+++ b/third_party/WebKit/Source/core/workers/WorkerThread.h
@@ -242,9 +242,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