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

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

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/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 a8a83ade92767551a1b3db10c9226585ead165f0..877ecdf0d5b4c953a1b1ce86469652ad58964be6 100644
--- a/third_party/WebKit/Source/core/dom/ExecutionContext.cpp
+++ b/third_party/WebKit/Source/core/dom/ExecutionContext.cpp
@@ -48,7 +48,6 @@ ExecutionContext::ExecutionContext()
: m_circularSequentialID(0),
m_inDispatchErrorEvent(false),
m_activeDOMObjectsAreSuspended(false),
- m_activeDOMObjectsAreStopped(false),
m_windowInteractionTokens(0),
m_isRunSuspendableTasksScheduled(false),
m_referrerPolicy(ReferrerPolicyDefault) {}
@@ -77,8 +76,6 @@ void ExecutionContext::postSuspendableTask(
}
void ExecutionContext::notifyContextDestroyed() {
- m_activeDOMObjectsAreStopped = true;
-
Deque<std::unique_ptr<SuspendableTask>> suspendedTasks;
suspendedTasks.swap(m_suspendedTasks);
for (Deque<std::unique_ptr<SuspendableTask>>::iterator it =

Powered by Google App Engine
This is Rietveld 408576698