| 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 6dfbb3a0cbc1bde6dd5e0c446c175904687519bb..b2e697acb4e01b561ee584a5705b12e6672c7bc4 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.h
|
| @@ -81,6 +81,9 @@ class CORE_EXPORT V8ScriptRunner final {
|
| CachedMetadataHandler* = nullptr,
|
| AccessControlStatus = SharableCrossOrigin,
|
| V8CacheOptions = V8CacheOptionsDefault);
|
| + static v8::MaybeLocal<v8::Module> compileModule(v8::Isolate*,
|
| + const String& source,
|
| + const String& fileName);
|
| static v8::MaybeLocal<v8::Value> runCompiledScript(v8::Isolate*,
|
| v8::Local<v8::Script>,
|
| ExecutionContext*);
|
| @@ -110,6 +113,9 @@ class CORE_EXPORT V8ScriptRunner final {
|
| int argc,
|
| v8::Local<v8::Value> info[],
|
| v8::Isolate*);
|
| + static v8::MaybeLocal<v8::Value> evaluateModule(v8::Local<v8::Module>,
|
| + v8::Local<v8::Context>,
|
| + v8::Isolate*);
|
| static v8::MaybeLocal<v8::Object> instantiateObject(
|
| v8::Isolate*,
|
| v8::Local<v8::ObjectTemplate>);
|
|
|