Index: Source/core/inspector/WorkerDebuggerAgent.h |
diff --git a/Source/core/inspector/WorkerDebuggerAgent.h b/Source/core/inspector/WorkerDebuggerAgent.h |
index b766d853afe8d543896b5f86e9d5f409fd86bac1..f51b390fc3a9ae851561250c48a5e441f40e3a09 100644 |
--- a/Source/core/inspector/WorkerDebuggerAgent.h |
+++ b/Source/core/inspector/WorkerDebuggerAgent.h |
@@ -36,21 +36,21 @@ |
namespace WebCore { |
-class WorkerContext; |
+class WorkerGlobalScope; |
class WorkerThread; |
class WorkerDebuggerAgent : public InspectorDebuggerAgent { |
WTF_MAKE_NONCOPYABLE(WorkerDebuggerAgent); |
WTF_MAKE_FAST_ALLOCATED; |
public: |
- static PassOwnPtr<WorkerDebuggerAgent> create(InstrumentingAgents*, InspectorCompositeState*, WorkerScriptDebugServer*, WorkerContext*, InjectedScriptManager*); |
+ static PassOwnPtr<WorkerDebuggerAgent> create(InstrumentingAgents*, InspectorCompositeState*, WorkerScriptDebugServer*, WorkerGlobalScope*, InjectedScriptManager*); |
virtual ~WorkerDebuggerAgent(); |
static const char* debuggerTaskMode; |
static void interruptAndDispatchInspectorCommands(WorkerThread*); |
private: |
- WorkerDebuggerAgent(InstrumentingAgents*, InspectorCompositeState*, WorkerScriptDebugServer*, WorkerContext*, InjectedScriptManager*); |
+ WorkerDebuggerAgent(InstrumentingAgents*, InspectorCompositeState*, WorkerScriptDebugServer*, WorkerGlobalScope*, InjectedScriptManager*); |
virtual void startListeningScriptDebugServer(); |
virtual void stopListeningScriptDebugServer(); |
@@ -61,7 +61,7 @@ private: |
virtual void addConsoleMessage(MessageSource, MessageLevel, const String& message, const String& sourceURL); |
WorkerScriptDebugServer* m_scriptDebugServer; |
- WorkerContext* m_inspectedWorkerContext; |
+ WorkerGlobalScope* m_inspectedWorkerGlobalScope; |
}; |
} // namespace WebCore |