| Index: Source/core/inspector/WorkerConsoleAgent.h
|
| diff --git a/Source/core/inspector/WorkerConsoleAgent.h b/Source/core/inspector/WorkerConsoleAgent.h
|
| index ae179fa17e7365483a3433adabd2f2dc68b69a5c..cdf51971ed829af7b41f732623c425140625e618 100644
|
| --- a/Source/core/inspector/WorkerConsoleAgent.h
|
| +++ b/Source/core/inspector/WorkerConsoleAgent.h
|
| @@ -36,20 +36,27 @@
|
|
|
| namespace blink {
|
|
|
| +class WorkerGlobalScope;
|
| +
|
| class WorkerConsoleAgent FINAL : public InspectorConsoleAgent {
|
| WTF_MAKE_NONCOPYABLE(WorkerConsoleAgent);
|
| public:
|
| - static PassOwnPtrWillBeRawPtr<WorkerConsoleAgent> create(InspectorTimelineAgent* timelineAgent, InjectedScriptManager* injectedScriptManager)
|
| + static PassOwnPtrWillBeRawPtr<WorkerConsoleAgent> create(InspectorTimelineAgent* timelineAgent, InjectedScriptManager* injectedScriptManager, WorkerGlobalScope* workerGlobalScope)
|
| {
|
| - return adoptPtrWillBeNoop(new WorkerConsoleAgent(timelineAgent, injectedScriptManager));
|
| + return adoptPtrWillBeNoop(new WorkerConsoleAgent(timelineAgent, injectedScriptManager, workerGlobalScope));
|
| }
|
| virtual ~WorkerConsoleAgent();
|
|
|
| virtual bool isWorkerAgent() OVERRIDE { return true; }
|
|
|
| +protected:
|
| + virtual ConsoleMessageStorage* messageStorage() OVERRIDE;
|
| +
|
| private:
|
| - WorkerConsoleAgent(InspectorTimelineAgent*, InjectedScriptManager*);
|
| + WorkerConsoleAgent(InspectorTimelineAgent*, InjectedScriptManager*, WorkerGlobalScope*);
|
| virtual void addInspectedNode(ErrorString*, int nodeId) OVERRIDE;
|
| +
|
| + WorkerGlobalScope* m_workerGlobalScope;
|
| };
|
|
|
| } // namespace blink
|
|
|