| Index: third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.cpp
|
| index 129a190f6969e41815f1454aaf41883ed0f24bf9..be9ba04243f76de9fadbec69c7e83679ce2e0c8c 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.cpp
|
| @@ -19,10 +19,6 @@ ScriptPromiseResolver::ScriptPromiseResolver(ScriptState* scriptState)
|
| m_isPromiseCalled(false)
|
| #endif
|
| {
|
| - if (getExecutionContext()->activeDOMObjectsAreStopped()) {
|
| - m_state = Detached;
|
| - m_resolver.clear();
|
| - }
|
| InspectorInstrumentation::asyncTaskScheduled(getExecutionContext(), "Promise",
|
| this);
|
| }
|
|
|