| Index: third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp b/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp
|
| index f85a0459eb6651996889c1593864dcc13f72e870..4be52d5fc9b404adf503e5ae00daa891b1dcf89f 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp
|
| @@ -360,7 +360,7 @@ v8::MaybeLocal<v8::Script> V8ScriptRunner::compileScript(const CompressibleStrin
|
| return compileScript(v8String(isolate, code), fileName, sourceMapUrl, textPosition, isolate, nullptr, nullptr, cacheMetadataHandler, accessControlStatus, v8CacheOptions);
|
| }
|
|
|
| -v8::MaybeLocal<v8::Script> V8ScriptRunner::compileScript(v8::Local<v8::String> code, const String& fileName, const String& sourceMapUrl, const TextPosition& scriptStartPosition, v8::Isolate* isolate, ScriptResource* resource, ScriptStreamer* streamer, CachedMetadataHandler* cacheHandler, AccessControlStatus accessControlStatus, V8CacheOptions cacheOptions, bool isInternalScript)
|
| +v8::MaybeLocal<v8::Script> V8ScriptRunner::compileScript(v8::Local<v8::String> code, const String& fileName, const String& sourceMapUrl, const TextPosition& scriptStartPosition, v8::Isolate* isolate, ScriptResource* resource, ScriptStreamer* streamer, CachedMetadataHandler* cacheHandler, AccessControlStatus accessControlStatus, V8CacheOptions cacheOptions)
|
| {
|
| TRACE_EVENT2("v8,devtools.timeline", "v8.compile", "fileName", fileName.utf8(), "data", InspectorCompileScriptEvent::data(fileName, scriptStartPosition));
|
| TRACE_EVENT_SCOPED_SAMPLING_STATE("v8", "V8Compile");
|
| @@ -376,7 +376,7 @@ v8::MaybeLocal<v8::Script> V8ScriptRunner::compileScript(v8::Local<v8::String> c
|
| v8::Integer::New(isolate, scriptStartPosition.m_column.zeroBasedInt()),
|
| v8Boolean(accessControlStatus == SharableCrossOrigin, isolate),
|
| v8::Local<v8::Integer>(),
|
| - v8Boolean(isInternalScript, isolate),
|
| + v8Boolean(false, isolate),
|
| v8String(isolate, sourceMapUrl),
|
| v8Boolean(accessControlStatus == OpaqueResource, isolate));
|
|
|
| @@ -423,7 +423,7 @@ v8::MaybeLocal<v8::Value> V8ScriptRunner::runCompiledScript(v8::Isolate* isolate
|
| v8::MaybeLocal<v8::Value> V8ScriptRunner::compileAndRunInternalScript(v8::Local<v8::String> source, v8::Isolate* isolate, const String& fileName, const TextPosition& scriptStartPosition)
|
| {
|
| v8::Local<v8::Script> script;
|
| - if (!V8ScriptRunner::compileScript(source, fileName, String(), scriptStartPosition, isolate, nullptr, nullptr, nullptr, SharableCrossOrigin, V8CacheOptionsDefault, true).ToLocal(&script))
|
| + if (!V8ScriptRunner::compileScript(source, fileName, String(), scriptStartPosition, isolate, nullptr, nullptr, nullptr, SharableCrossOrigin, V8CacheOptionsDefault).ToLocal(&script))
|
| return v8::MaybeLocal<v8::Value>();
|
|
|
| TRACE_EVENT0("v8", "v8.run");
|
|
|