| 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 c6ae7ccd16c985e0c3887797a55d1b14c8451c65..a8a83ade92767551a1b3db10c9226585ead165f0 100644
|
| --- a/third_party/WebKit/Source/core/dom/ExecutionContext.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/ExecutionContext.cpp
|
| @@ -67,11 +67,6 @@ void ExecutionContext::resumeActiveDOMObjects() {
|
| notifyResumingActiveDOMObjects();
|
| }
|
|
|
| -void ExecutionContext::stopActiveDOMObjects() {
|
| - m_activeDOMObjectsAreStopped = true;
|
| - notifyStoppingActiveDOMObjects();
|
| -}
|
| -
|
| void ExecutionContext::postSuspendableTask(
|
| std::unique_ptr<SuspendableTask> task) {
|
| m_suspendedTasks.append(std::move(task));
|
| @@ -82,6 +77,8 @@ 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 =
|
|
|