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

Unified Diff: third_party/WebKit/Source/core/dom/ExecutionContext.cpp

Issue 2552993002: Rename activeDOMObjectsAreStopped to isContextDestroyed (Closed)
Patch Set: 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/ExecutionContext.cpp
diff --git a/third_party/WebKit/Source/core/dom/ExecutionContext.cpp b/third_party/WebKit/Source/core/dom/ExecutionContext.cpp
index bafadfdc4ff0a913b7a421435cadb349c4d29bbf..a8cf51e87efcf5fc631dcaef95f3aba26f2ddf7c 100644
--- a/third_party/WebKit/Source/core/dom/ExecutionContext.cpp
+++ b/third_party/WebKit/Source/core/dom/ExecutionContext.cpp
@@ -49,7 +49,7 @@ ExecutionContext::ExecutionContext()
: m_circularSequentialID(0),
m_inDispatchErrorEvent(false),
m_activeDOMObjectsAreSuspended(false),
- m_activeDOMObjectsAreStopped(false),
+ m_isContextDestroyed(false),
m_windowInteractionTokens(0),
m_referrerPolicy(ReferrerPolicyDefault) {}
@@ -68,7 +68,7 @@ void ExecutionContext::resumeActiveDOMObjects() {
}
void ExecutionContext::notifyContextDestroyed() {
- m_activeDOMObjectsAreStopped = true;
+ m_isContextDestroyed = true;
ContextLifecycleNotifier::notifyContextDestroyed();
}

Powered by Google App Engine
This is Rietveld 408576698