| Index: third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.h b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.h
|
| index 489183609fb3db8c8f08d48ca3bf8d3c230edde6..201803ef0cd8fa175eeec1956a2b305758236bb4 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.h
|
| @@ -130,7 +130,7 @@ class CORE_EXPORT ScriptPromiseResolver
|
| toV8(value, m_scriptState->context()->Global(),
|
| m_scriptState->isolate()));
|
|
|
| - if (getExecutionContext()->activeDOMObjectsAreSuspended()) {
|
| + if (getExecutionContext()->isContextSuspended()) {
|
| // Retain this object until it is actually resolved or rejected.
|
| keepAliveWhilePending();
|
| return;
|
|
|