Index: Source/core/inspector/WorkerRuntimeAgent.h |
diff --git a/Source/core/inspector/WorkerRuntimeAgent.h b/Source/core/inspector/WorkerRuntimeAgent.h |
index 5ceb747bcc39174f85015a7014eca1aee5304c93..226c135ef6ae31e86dada1e58265197c427cb7cd 100644 |
--- a/Source/core/inspector/WorkerRuntimeAgent.h |
+++ b/Source/core/inspector/WorkerRuntimeAgent.h |
@@ -36,11 +36,11 @@ |
namespace WebCore { |
-class WorkerContext; |
+class WorkerGlobalScope; |
class WorkerRuntimeAgent : public InspectorRuntimeAgent { |
public: |
- static PassOwnPtr<WorkerRuntimeAgent> create(InstrumentingAgents* instrumentingAgents, InspectorCompositeState* state, InjectedScriptManager* injectedScriptManager, ScriptDebugServer* scriptDebugServer, WorkerContext* context) |
+ static PassOwnPtr<WorkerRuntimeAgent> create(InstrumentingAgents* instrumentingAgents, InspectorCompositeState* state, InjectedScriptManager* injectedScriptManager, ScriptDebugServer* scriptDebugServer, WorkerGlobalScope* context) |
{ |
return adoptPtr(new WorkerRuntimeAgent(instrumentingAgents, state, injectedScriptManager, scriptDebugServer, context)); |
} |
@@ -49,14 +49,14 @@ public: |
// Protocol commands. |
virtual void run(ErrorString*); |
- void willEvaluateWorkerScript(WorkerContext*, int workerThreadStartMode); |
+ void willEvaluateWorkerScript(WorkerGlobalScope*, int workerThreadStartMode); |
private: |
- WorkerRuntimeAgent(InstrumentingAgents*, InspectorCompositeState*, InjectedScriptManager*, ScriptDebugServer*, WorkerContext*); |
+ WorkerRuntimeAgent(InstrumentingAgents*, InspectorCompositeState*, InjectedScriptManager*, ScriptDebugServer*, WorkerGlobalScope*); |
virtual InjectedScript injectedScriptForEval(ErrorString*, const int* executionContextId); |
virtual void muteConsole(); |
virtual void unmuteConsole(); |
- WorkerContext* m_workerContext; |
+ WorkerGlobalScope* m_workerGlobalScope; |
bool m_paused; |
}; |