| 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 ffdf714a290a674d479fbd2934268c9d1eebd683..834fda0c02a1151fde140019074fae7add1ffb73 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerThread.h
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerThread.h
|
| @@ -109,7 +109,7 @@ public:
|
| static void terminateAndWaitForAllWorkers();
|
|
|
| virtual WorkerBackingThread& workerBackingThread() = 0;
|
| - virtual ConsoleMessageStorage* consoleMessageStorage() = 0;
|
| + ConsoleMessageStorage* consoleMessageStorage() const { return m_consoleMessageStorage.get(); }
|
| virtual bool shouldAttachThreadDebugger() const { return true; }
|
| v8::Isolate* isolate();
|
|
|
| @@ -238,6 +238,7 @@ private:
|
| // |m_runningDebuggerTask|, |m_exitCode| and |m_microtaskRunner|.
|
| Mutex m_threadStateMutex;
|
|
|
| + Persistent<ConsoleMessageStorage> m_consoleMessageStorage;
|
| Persistent<WorkerOrWorkletGlobalScope> m_globalScope;
|
| Persistent<WorkerInspectorController> m_workerInspectorController;
|
|
|
|
|