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

Unified Diff: third_party/WebKit/Source/core/dom/SuspendableObject.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/core/dom/SuspendableObject.cpp
diff --git a/third_party/WebKit/Source/core/dom/SuspendableObject.cpp b/third_party/WebKit/Source/core/dom/SuspendableObject.cpp
index 5338ffd53d1b129ee307f1e176364a3c30671e35..e2f9b863ad86709a25cf472818027223f0047b98 100644
--- a/third_party/WebKit/Source/core/dom/SuspendableObject.cpp
+++ b/third_party/WebKit/Source/core/dom/SuspendableObject.cpp
@@ -74,7 +74,7 @@ void SuspendableObject::didMoveToNewExecutionContext(
return;
}
- if (context->activeDOMObjectsAreSuspended()) {
+ if (context->isContextSuspended()) {
suspend();
return;
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/MutationObserver.cpp ('k') | third_party/WebKit/Source/core/dom/SuspendableObjectTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698