Index: third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.cpp b/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.cpp |
index 8b0fcaa438687a22d2b3e6d407673ac3a96b142d..da95fd558d961cbefad6177002e3e89f7bad3003 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.cpp |
@@ -265,9 +265,10 @@ ScriptValue WorkerOrWorkletScriptController::Evaluate( |
v8::Local<v8::Script> compiled_script; |
v8::MaybeLocal<v8::Value> maybe_result; |
- if (V8ScriptRunner::CompileScript( |
- script, file_name, String(), script_start_position, isolate_, |
- cache_handler, kSharableCrossOrigin, v8_cache_options) |
+ if (V8ScriptRunner::CompileScript(script_state_.Get(), script, file_name, |
+ String(), script_start_position, |
+ cache_handler, kSharableCrossOrigin, |
+ v8_cache_options) |
.ToLocal(&compiled_script)) |
maybe_result = V8ScriptRunner::RunCompiledScript(isolate_, compiled_script, |
global_scope_); |