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 74bf17047cde9f50a7c2ff50f967b28fb98d8182..309f9736a82d01675412f3fdcf58aa27898393aa 100644 |
--- a/third_party/WebKit/Source/core/inspector/WorkerConsoleAgent.h |
+++ b/third_party/WebKit/Source/core/inspector/WorkerConsoleAgent.h |
@@ -41,10 +41,7 @@ class WorkerGlobalScope; |
class WorkerConsoleAgent final : public InspectorConsoleAgent { |
WTF_MAKE_NONCOPYABLE(WorkerConsoleAgent); |
public: |
- static WorkerConsoleAgent* create(V8RuntimeAgent* runtimeAgent, WorkerGlobalScope* workerGlobalScope) |
- { |
- return new WorkerConsoleAgent(runtimeAgent, workerGlobalScope); |
- } |
+ WorkerConsoleAgent(V8InspectorSession*, WorkerGlobalScope*); |
~WorkerConsoleAgent() override; |
DECLARE_VIRTUAL_TRACE(); |
@@ -58,8 +55,6 @@ protected: |
void disableStackCapturingIfNeeded() override; |
private: |
- WorkerConsoleAgent(V8RuntimeAgent*, WorkerGlobalScope*); |
- |
Member<WorkerGlobalScope> m_workerGlobalScope; |
}; |