| Index: third_party/WebKit/Source/bindings/core/v8/ScriptModule.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptModule.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptModule.cpp
|
| index fdd619dbc1a29322bef059c1c5afaca72d344cd9..3e38b06198b65faca2d5268eba812938591807f1 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptModule.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptModule.cpp
|
| @@ -20,12 +20,14 @@ ScriptModule::~ScriptModule() {}
|
|
|
| ScriptModule ScriptModule::compile(v8::Isolate* isolate,
|
| const String& source,
|
| - const String& fileName) {
|
| + const String& fileName,
|
| + AccessControlStatus accessControlStatus) {
|
| v8::TryCatch tryCatch(isolate);
|
| tryCatch.SetVerbose(true);
|
| v8::Local<v8::Module> module;
|
| - if (!v8Call(V8ScriptRunner::compileModule(isolate, source, fileName), module,
|
| - tryCatch)) {
|
| + if (!v8Call(V8ScriptRunner::compileModule(isolate, source, fileName,
|
| + accessControlStatus),
|
| + module, tryCatch)) {
|
| // Compilation error is not used in Blink implementaion logic.
|
| // Note: Error message is delivered to user (e.g. console) by message
|
| // listeners set on v8::Isolate. See V8Initializer::initalizeMainThread().
|
|
|