| Index: Source/bindings/core/v8/V8ScriptRunner.cpp
|
| diff --git a/Source/bindings/core/v8/V8ScriptRunner.cpp b/Source/bindings/core/v8/V8ScriptRunner.cpp
|
| index aacd18055b1dca2e103f6219a157b06a84027676..5deec30695dc4c65d6ae451afc61146609af1735 100644
|
| --- a/Source/bindings/core/v8/V8ScriptRunner.cpp
|
| +++ b/Source/bindings/core/v8/V8ScriptRunner.cpp
|
| @@ -481,12 +481,12 @@ v8::Local<v8::Value> V8ScriptRunner::callFunction(v8::Local<v8::Function> functi
|
| return result;
|
| }
|
|
|
| -v8::Local<v8::Value> V8ScriptRunner::callInternalFunction(v8::Local<v8::Function> function, v8::Local<v8::Value> receiver, int argc, v8::Local<v8::Value> args[], v8::Isolate* isolate)
|
| +v8::MaybeLocal<v8::Value> V8ScriptRunner::callInternalFunction(v8::Local<v8::Function> function, v8::Local<v8::Value> receiver, int argc, v8::Local<v8::Value> args[], v8::Isolate* isolate)
|
| {
|
| TRACE_EVENT0("v8", "v8.callFunction");
|
| TRACE_EVENT_SCOPED_SAMPLING_STATE("v8", "V8Execution");
|
| V8RecursionScope::MicrotaskSuppression recursionScope(isolate);
|
| - v8::Local<v8::Value> result = function->Call(receiver, argc, args);
|
| + v8::MaybeLocal<v8::Value> result = function->Call(receiver, argc, args);
|
| crashIfV8IsDead();
|
| return result;
|
| }
|
|
|