Index: third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.h b/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.h |
index ebff9136c1d33a332f3f4f1e20a1c42c38ea1a35..f95ba4d5dc9fdea78476caf5b23bb36ae4215de1 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.h |
@@ -53,15 +53,15 @@ class CORE_EXPORT V8ScriptRunner final { |
public: |
// For the following methods, the caller sites have to hold |
// a HandleScope and a ContextScope. |
- static v8::MaybeLocal<v8::Script> CompileScript(const ScriptSourceCode&, |
- v8::Isolate*, |
+ static v8::MaybeLocal<v8::Script> CompileScript(ScriptState*, |
+ const ScriptSourceCode&, |
AccessControlStatus, |
V8CacheOptions); |
- static v8::MaybeLocal<v8::Script> CompileScript(const String&, |
+ static v8::MaybeLocal<v8::Script> CompileScript(ScriptState*, |
+ const String&, |
const String& file_name, |
const String& source_map_url, |
const TextPosition&, |
- v8::Isolate*, |
CachedMetadataHandler*, |
AccessControlStatus, |
V8CacheOptions); |
@@ -69,11 +69,11 @@ class CORE_EXPORT V8ScriptRunner final { |
// normal scripe resources, CachedMetadataHandler is from ScriptResource. |
// For worker script, ScriptResource is null but CachedMetadataHandler may be |
// set. When ScriptStreamer is set, ScriptResource must be set. |
- static v8::MaybeLocal<v8::Script> CompileScript(v8::Local<v8::String>, |
+ static v8::MaybeLocal<v8::Script> CompileScript(ScriptState*, |
+ v8::Local<v8::String>, |
const String& file_name, |
const String& source_map_url, |
const TextPosition&, |
- v8::Isolate*, |
ScriptResource*, |
ScriptStreamer*, |
CachedMetadataHandler*, |