Index: third_party/WebKit/Source/core/inspector/WorkerConsoleAgent.h |
diff --git a/third_party/WebKit/Source/core/inspector/WorkerConsoleAgent.h b/third_party/WebKit/Source/core/inspector/WorkerConsoleAgent.h |
index d836e0c735f46314a61a4ba0e0e1ed7574d6bde6..2cb0d5993462223c2ede137772907cd67bd4b24a 100644 |
--- a/third_party/WebKit/Source/core/inspector/WorkerConsoleAgent.h |
+++ b/third_party/WebKit/Source/core/inspector/WorkerConsoleAgent.h |
@@ -41,9 +41,9 @@ class WorkerGlobalScope; |
class WorkerConsoleAgent final : public InspectorConsoleAgent { |
WTF_MAKE_NONCOPYABLE(WorkerConsoleAgent); |
public: |
- static PassOwnPtrWillBeRawPtr<WorkerConsoleAgent> create(V8RuntimeAgent* runtimeAgent, WorkerGlobalScope* workerGlobalScope) |
+ static PassOwnPtrWillBeRawPtr<WorkerConsoleAgent> create(V8RuntimeAgent* runtimeAgent, V8DebuggerAgent* debuggerAgent, WorkerGlobalScope* workerGlobalScope) |
{ |
- return adoptPtrWillBeNoop(new WorkerConsoleAgent(runtimeAgent, workerGlobalScope)); |
+ return adoptPtrWillBeNoop(new WorkerConsoleAgent(runtimeAgent, debuggerAgent, workerGlobalScope)); |
} |
~WorkerConsoleAgent() override; |
DECLARE_VIRTUAL_TRACE(); |
@@ -58,7 +58,7 @@ protected: |
void disableStackCapturingIfNeeded() override; |
private: |
- WorkerConsoleAgent(V8RuntimeAgent*, WorkerGlobalScope*); |
+ WorkerConsoleAgent(V8RuntimeAgent*, V8DebuggerAgent*, WorkerGlobalScope*); |
RawPtrWillBeMember<WorkerGlobalScope> m_workerGlobalScope; |
}; |