| Index: Source/core/inspector/WorkerDebuggerAgent.h
|
| diff --git a/Source/core/inspector/WorkerDebuggerAgent.h b/Source/core/inspector/WorkerDebuggerAgent.h
|
| index 1204545e138a004eeadfe1068e33c171b2a1734a..6d01d38ec5690fc88c52d5d5a7f5044c0c89694f 100644
|
| --- a/Source/core/inspector/WorkerDebuggerAgent.h
|
| +++ b/Source/core/inspector/WorkerDebuggerAgent.h
|
| @@ -33,6 +33,7 @@
|
|
|
| #include "bindings/core/v8/WorkerScriptDebugServer.h"
|
| #include "core/inspector/InspectorDebuggerAgent.h"
|
| +#include "public/platform/WebThread.h"
|
|
|
| namespace blink {
|
|
|
| @@ -44,7 +45,7 @@ class WorkerDebuggerAgent final : public InspectorDebuggerAgent {
|
| WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(WorkerDebuggerAgent);
|
| WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WorkerDebuggerAgent);
|
| public:
|
| - static PassOwnPtrWillBeRawPtr<WorkerDebuggerAgent> create(WorkerScriptDebugServer*, WorkerGlobalScope*, InjectedScriptManager*);
|
| + static PassOwnPtrWillBeRawPtr<WorkerDebuggerAgent> create(WorkerScriptDebugServer*, WorkerGlobalScope*, InjectedScriptManager*, WebThread::TaskObserver*);
|
| ~WorkerDebuggerAgent() override;
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| @@ -52,7 +53,7 @@ public:
|
|
|
| private:
|
|
|
| - WorkerDebuggerAgent(WorkerScriptDebugServer*, WorkerGlobalScope*, InjectedScriptManager*);
|
| + WorkerDebuggerAgent(WorkerScriptDebugServer*, WorkerGlobalScope*, InjectedScriptManager*, WebThread::TaskObserver*);
|
|
|
| void startListeningScriptDebugServer() override;
|
| void stopListeningScriptDebugServer() override;
|
| @@ -63,6 +64,7 @@ private:
|
|
|
| WorkerScriptDebugServer* m_scriptDebugServer;
|
| RawPtrWillBeMember<WorkerGlobalScope> m_inspectedWorkerGlobalScope;
|
| + WebThread::TaskObserver* m_taskObserver;
|
| };
|
|
|
| } // namespace blink
|
|
|