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

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

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.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.cpp
index 0c41a6aade8136ece4935c987f3a6fbefe1275da..7ef0106c47ffed5b205758d6505c5aa68fb1cc49 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.cpp
@@ -72,7 +72,7 @@ void ScriptPromiseResolver::onTimerFired(TimerBase*) {
void ScriptPromiseResolver::resolveOrRejectImmediately() {
DCHECK(!getExecutionContext()->isContextDestroyed());
- DCHECK(!getExecutionContext()->activeDOMObjectsAreSuspended());
+ DCHECK(!getExecutionContext()->isContextSuspended());
{
InspectorInstrumentation::AsyncTask asyncTask(getExecutionContext(), this);
if (m_state == Resolving) {

Powered by Google App Engine
This is Rietveld 408576698