Index: third_party/WebKit/Source/core/inspector/PageConsoleAgent.h |
diff --git a/third_party/WebKit/Source/core/inspector/PageConsoleAgent.h b/third_party/WebKit/Source/core/inspector/PageConsoleAgent.h |
index 1fe4e4140fdf9457ca9a79cc58f4241b13912bfc..666eb8adcb4f099f791e5fba0d618e1b6543bd8a 100644 |
--- a/third_party/WebKit/Source/core/inspector/PageConsoleAgent.h |
+++ b/third_party/WebKit/Source/core/inspector/PageConsoleAgent.h |
@@ -47,10 +47,7 @@ class WorkerGlobalScopeProxy; |
class CORE_EXPORT PageConsoleAgent final : public InspectorConsoleAgent { |
WTF_MAKE_NONCOPYABLE(PageConsoleAgent); |
public: |
- static PageConsoleAgent* create(V8RuntimeAgent* runtimeAgent, InspectorDOMAgent* domAgent, InspectedFrames* inspectedFrames) |
- { |
- return new PageConsoleAgent(runtimeAgent, domAgent, inspectedFrames); |
- } |
+ PageConsoleAgent(V8InspectorSession*, InspectorDOMAgent*, InspectedFrames*); |
~PageConsoleAgent() override; |
DECLARE_VIRTUAL_TRACE(); |
@@ -69,7 +66,6 @@ protected: |
void disableStackCapturingIfNeeded() override; |
private: |
- PageConsoleAgent(V8RuntimeAgent*, InspectorDOMAgent*, InspectedFrames*); |
void clearMessages(ErrorString*) override; |
Member<InspectorDOMAgent> m_inspectorDOMAgent; |