Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.h

Issue 2433773006: Remove ExecutionContext::activeDOMObjectsAreStopped()
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 a07e16d4494ed318ad780380a74845134ad4caf6..cb7c215108a1e7276779fa539b2bda956f744903 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.h
@@ -119,8 +119,7 @@ class CORE_EXPORT ScriptPromiseResolver
template <typename T>
void resolveOrReject(T value, ResolutionState newState) {
if (m_state != Pending || !getScriptState()->contextIsValid() ||
- !getExecutionContext() ||
- getExecutionContext()->activeDOMObjectsAreStopped())
+ !getExecutionContext())
return;
ASSERT(newState == Resolving || newState == Rejecting);
m_state = newState;

Powered by Google App Engine
This is Rietveld 408576698