Index: Source/bindings/v8/ScriptState.cpp |
diff --git a/Source/bindings/v8/ScriptState.cpp b/Source/bindings/v8/ScriptState.cpp |
index 8bfddd5bd62b5959f18ce3ec732ba1c634658f88..e7195d801bc638615d7b41c46baedd514ddc6741 100644 |
--- a/Source/bindings/v8/ScriptState.cpp |
+++ b/Source/bindings/v8/ScriptState.cpp |
@@ -32,12 +32,12 @@ |
#include "bindings/v8/ScriptState.h" |
#include "V8Window.h" |
-#include "V8WorkerContext.h" |
+#include "V8WorkerGlobalScope.h" |
#include "bindings/v8/ScriptController.h" |
#include "bindings/v8/V8HiddenPropertyName.h" |
#include "bindings/v8/WorkerScriptController.h" |
#include "core/page/Frame.h" |
-#include "core/workers/WorkerContext.h" |
+#include "core/workers/WorkerGlobalScope.h" |
#include <v8.h> |
#include "wtf/Assertions.h" |
@@ -112,9 +112,9 @@ ScriptState* mainWorldScriptState(Frame* frame) |
return ScriptState::forContext(frame->script()->mainWorldContext()); |
} |
-ScriptState* scriptStateFromWorkerContext(WorkerContext* workerContext) |
+ScriptState* scriptStateFromWorkerGlobalScope(WorkerGlobalScope* workerGlobalScope) |
{ |
- WorkerScriptController* script = workerContext->script(); |
+ WorkerScriptController* script = workerGlobalScope->script(); |
if (!script) |
return 0; |