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

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, 4 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 ef70bad4406db28836f50ea1f33c75887c824a1f..64eff807e6ac60e5beb31efd4781f7701061b222 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThread.h
+++ b/third_party/WebKit/Source/core/workers/WorkerThread.h
@@ -236,9 +236,9 @@ private:
// |m_runningDebuggerTask|, |m_exitCode| and |m_microtaskRunner|.
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 starts termination on the main thread.
std::unique_ptr<WaitableEvent> m_terminationEvent;

Powered by Google App Engine
This is Rietveld 408576698