| Index: third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.cpp
|
| index c355d764902a92447d1f64e846da0d9ac0b70976..edd1331b6f42b7a476970328a4ec08930f6ebee9 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.cpp
|
| @@ -32,11 +32,11 @@ static void clearHandle(const v8::WeakCallbackInfo<ScopedPersistent<v8::Object>>
|
|
|
| ScriptPromise ScriptPromisePropertyBase::promise(DOMWrapperWorld& world)
|
| {
|
| - if (!executionContext())
|
| + if (!getExecutionContext())
|
| return ScriptPromise();
|
|
|
| v8::HandleScope handleScope(m_isolate);
|
| - v8::Local<v8::Context> context = toV8Context(executionContext(), world);
|
| + v8::Local<v8::Context> context = toV8Context(getExecutionContext(), world);
|
| if (context.IsEmpty())
|
| return ScriptPromise();
|
| ScriptState* scriptState = ScriptState::from(context);
|
| @@ -72,7 +72,7 @@ ScriptPromise ScriptPromisePropertyBase::promise(DOMWrapperWorld& world)
|
|
|
| void ScriptPromisePropertyBase::resolveOrReject(State targetState)
|
| {
|
| - ASSERT(executionContext());
|
| + ASSERT(getExecutionContext());
|
| ASSERT(m_state == Pending);
|
| ASSERT(targetState == Resolved || targetState == Rejected);
|
|
|
|
|