Index: third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp |
index 841caa9ce459d7a23d16eb62c38af0a3a5b875f0..011ee3cc2b77f5d83d8974b5b9dd097fed741da2 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp |
@@ -127,8 +127,9 @@ v8::Local<v8::Value> ScriptController::ExecuteScriptAndReturnValue( |
try_catch.SetVerbose(true); |
v8::Local<v8::Script> script; |
- if (!V8ScriptRunner::CompileScript(source, GetIsolate(), |
- access_control_status, v8_cache_options) |
+ if (!V8ScriptRunner::CompileScript( |
+ ExecutionContext::From(ScriptState::From(context)), source, |
+ GetIsolate(), access_control_status, v8_cache_options) |
.ToLocal(&script)) |
return result; |