Index: Source/bindings/v8/WorkerScriptDebugServer.h |
diff --git a/Source/bindings/v8/WorkerScriptDebugServer.h b/Source/bindings/v8/WorkerScriptDebugServer.h |
index 67c1a821b9cca6cedf22156d5bd86c11a36215c7..befaaa90942df27f0e2137845fa0aaa2aa9f5a33 100644 |
--- a/Source/bindings/v8/WorkerScriptDebugServer.h |
+++ b/Source/bindings/v8/WorkerScriptDebugServer.h |
@@ -39,13 +39,13 @@ class Isolate; |
namespace WebCore { |
-class WorkerContext; |
+class WorkerGlobalScope; |
class WorkerThread; |
class WorkerScriptDebugServer : public ScriptDebugServer { |
WTF_MAKE_NONCOPYABLE(WorkerScriptDebugServer); |
public: |
- WorkerScriptDebugServer(WorkerContext*, const String&); |
+ WorkerScriptDebugServer(WorkerGlobalScope*, const String&); |
~WorkerScriptDebugServer() { } |
void addListener(ScriptDebugListener*); |
@@ -58,9 +58,9 @@ private: |
virtual void runMessageLoopOnPause(v8::Handle<v8::Context>); |
virtual void quitMessageLoopOnPause(); |
- typedef HashMap<WorkerContext*, ScriptDebugListener*> ListenersMap; |
+ typedef HashMap<WorkerGlobalScope*, ScriptDebugListener*> ListenersMap; |
ScriptDebugListener* m_listener; |
- WorkerContext* m_workerContext; |
+ WorkerGlobalScope* m_workerGlobalScope; |
String m_debuggerTaskMode; |
}; |