| Index: Source/core/inspector/PageConsoleAgent.h
|
| diff --git a/Source/core/inspector/PageConsoleAgent.h b/Source/core/inspector/PageConsoleAgent.h
|
| index 30de0fa39e4b699cda3e0e625ec57d07e062d2e8..3ba9a86ec0bea6efdb100865cc7ca7a8850c6439 100644
|
| --- a/Source/core/inspector/PageConsoleAgent.h
|
| +++ b/Source/core/inspector/PageConsoleAgent.h
|
| @@ -39,15 +39,16 @@
|
| class ConsoleMessage;
|
| class ConsoleMessageStorage;
|
| class InspectorDOMAgent;
|
| +class InspectorPageAgent;
|
| class WorkerInspectorProxy;
|
| class WorkerGlobalScopeProxy;
|
|
|
| class PageConsoleAgent final : public InspectorConsoleAgent {
|
| WTF_MAKE_NONCOPYABLE(PageConsoleAgent);
|
| public:
|
| - static PassOwnPtrWillBeRawPtr<PageConsoleAgent> create(LocalFrame* inspectedFrame, InjectedScriptManager* injectedScriptManager, InspectorDOMAgent* domAgent)
|
| + static PassOwnPtrWillBeRawPtr<PageConsoleAgent> create(InjectedScriptManager* injectedScriptManager, InspectorDOMAgent* domAgent, InspectorPageAgent* pageAgent)
|
| {
|
| - return adoptPtrWillBeNoop(new PageConsoleAgent(inspectedFrame, injectedScriptManager, domAgent));
|
| + return adoptPtrWillBeNoop(new PageConsoleAgent(injectedScriptManager, domAgent, pageAgent));
|
| }
|
| virtual ~PageConsoleAgent();
|
| DECLARE_VIRTUAL_TRACE();
|
| @@ -66,11 +67,11 @@
|
| virtual void disableStackCapturingIfNeeded() override;
|
|
|
| private:
|
| - PageConsoleAgent(LocalFrame*, InjectedScriptManager*, InspectorDOMAgent*);
|
| + PageConsoleAgent(InjectedScriptManager*, InspectorDOMAgent*, InspectorPageAgent*);
|
| virtual void clearMessages(ErrorString*) override;
|
|
|
| - RawPtrWillBeMember<LocalFrame> m_inspectedFrame;
|
| RawPtrWillBeMember<InspectorDOMAgent> m_inspectorDOMAgent;
|
| + RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
|
| HashSet<WorkerGlobalScopeProxy*> m_workersWithEnabledConsole;
|
|
|
| static int s_enabledAgentCount;
|
|
|