| Index: Source/bindings/v8/ScriptPromiseResolverWithContext.h
|
| diff --git a/Source/bindings/v8/ScriptPromiseResolverWithContext.h b/Source/bindings/v8/ScriptPromiseResolverWithContext.h
|
| index 1bcef1730facbf35e452eec872a5ec44bb76012b..594d12f29897f3e6583157ea4a49e4502b900fcb 100644
|
| --- a/Source/bindings/v8/ScriptPromiseResolverWithContext.h
|
| +++ b/Source/bindings/v8/ScriptPromiseResolverWithContext.h
|
| @@ -103,16 +103,11 @@ private:
|
|
|
| ScriptState::Scope scope(m_scriptState.get());
|
| m_value.set(m_scriptState->isolate(), toV8Value(value));
|
| - if (!executionContext()->activeDOMObjectsAreSuspended()) {
|
| + if (!executionContext()->activeDOMObjectsAreSuspended())
|
| resolveOrRejectImmediately();
|
| - // |this| can't be deleted here, so it is safe to call an instance
|
| - // method.
|
| - postRunMicrotasks();
|
| - }
|
| }
|
|
|
| void resolveOrRejectImmediately();
|
| - void postRunMicrotasks();
|
| void onTimerFired(Timer<ScriptPromiseResolverWithContext>*);
|
| void clear();
|
|
|
|
|