Index: Source/bindings/v8/ScriptState.cpp |
diff --git a/Source/bindings/v8/ScriptState.cpp b/Source/bindings/v8/ScriptState.cpp |
index 6760ddb28014d3d373353ec55a6929b668afa3fb..f7b3090dd471c1aec809f3f03ded65366092e67d 100644 |
--- a/Source/bindings/v8/ScriptState.cpp |
+++ b/Source/bindings/v8/ScriptState.cpp |
@@ -110,7 +110,7 @@ void ScriptState::setEvalEnabled(bool enabled) |
ScriptState* mainWorldScriptState(Frame* frame) |
{ |
v8::HandleScope handleScope(toIsolate(frame)); |
- return ScriptState::forContext(frame->script()->mainWorldContext()); |
+ return ScriptState::forContext(frame->script().mainWorldContext()); |
} |
ScriptState* scriptStateFromWorkerGlobalScope(WorkerGlobalScope* workerGlobalScope) |