Index: Source/bindings/v8/ScriptState.h |
diff --git a/Source/bindings/v8/ScriptState.h b/Source/bindings/v8/ScriptState.h |
index b40626005711610baaa140646d267e715c65163b..a48122eea3a903730fcaf7cfb714ce355af784c6 100644 |
--- a/Source/bindings/v8/ScriptState.h |
+++ b/Source/bindings/v8/ScriptState.h |
@@ -42,7 +42,7 @@ class DOMWindow; |
class DOMWrapperWorld; |
class Frame; |
class ScriptExecutionContext; |
-class WorkerContext; |
+class WorkerGlobalScope; |
class ScriptState { |
WTF_MAKE_NONCOPYABLE(ScriptState); |
@@ -123,7 +123,7 @@ private: |
ScriptState* mainWorldScriptState(Frame*); |
-ScriptState* scriptStateFromWorkerContext(WorkerContext*); |
+ScriptState* scriptStateFromWorkerGlobalScope(WorkerGlobalScope*); |
} |