| Index: third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp b/third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp
|
| index ddf9a44c49decaa03469ada87569e2affff16148..e6327a1a927eee0b2294f606599dadd6998b941a 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp
|
| @@ -280,7 +280,7 @@ static void promiseRejectHandlerInWorker(v8::PromiseRejectMessage data)
|
| if (!scriptState->contextIsValid())
|
| return;
|
|
|
| - ExecutionContext* executionContext = scriptState->executionContext();
|
| + ExecutionContext* executionContext = scriptState->getExecutionContext();
|
| if (!executionContext)
|
| return;
|
|
|
| @@ -410,7 +410,7 @@ static void messageHandlerInWorker(v8::Local<v8::Message> message, v8::Local<v8:
|
|
|
| ScriptState* scriptState = ScriptState::current(isolate);
|
| // During the frame teardown, there may not be a valid context.
|
| - if (ExecutionContext* context = scriptState->executionContext()) {
|
| + if (ExecutionContext* context = scriptState->getExecutionContext()) {
|
| String errorMessage = toCoreStringWithNullCheck(message->Get());
|
| TOSTRING_VOID(V8StringResource<>, sourceURL, message->GetScriptOrigin().ResourceName());
|
| int scriptId = 0;
|
|
|