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

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

Issue 2587913002: Rename activeDOMObjectsAreSuspended to isContextSuspended (Closed)
Patch Set: temp Created 4 years 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 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;

Powered by Google App Engine
This is Rietveld 408576698