| Index: third_party/WebKit/Source/core/dom/ContextLifecycleNotifier.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/ContextLifecycleNotifier.cpp b/third_party/WebKit/Source/core/dom/ContextLifecycleNotifier.cpp
|
| index bd44cef0e1ffcd94280744e349e2061c102ed347..b088247a83f54876525f83409c0c059e08b0528c 100644
|
| --- a/third_party/WebKit/Source/core/dom/ContextLifecycleNotifier.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/ContextLifecycleNotifier.cpp
|
| @@ -34,7 +34,7 @@ namespace blink {
|
|
|
| void ContextLifecycleNotifier::notifyResumingActiveDOMObjects()
|
| {
|
| - TemporaryChange<IterationState> scope(m_iterationState, AllowingNone);
|
| + TemporaryChange<IterationState> scope(&m_iterationState, AllowingNone);
|
| for (ContextLifecycleObserver* observer : m_observers) {
|
| if (observer->observerType() != ContextLifecycleObserver::ActiveDOMObjectType)
|
| continue;
|
| @@ -49,7 +49,7 @@ void ContextLifecycleNotifier::notifyResumingActiveDOMObjects()
|
|
|
| void ContextLifecycleNotifier::notifySuspendingActiveDOMObjects()
|
| {
|
| - TemporaryChange<IterationState> scope(m_iterationState, AllowingNone);
|
| + TemporaryChange<IterationState> scope(&m_iterationState, AllowingNone);
|
| for (ContextLifecycleObserver* observer : m_observers) {
|
| if (observer->observerType() != ContextLifecycleObserver::ActiveDOMObjectType)
|
| continue;
|
| @@ -65,7 +65,7 @@ void ContextLifecycleNotifier::notifySuspendingActiveDOMObjects()
|
| void ContextLifecycleNotifier::notifyStoppingActiveDOMObjects()
|
| {
|
| // Observers may be removed, but handled after iteration has completed.
|
| - TemporaryChange<IterationState> scope(m_iterationState, AllowPendingRemoval);
|
| + TemporaryChange<IterationState> scope(&m_iterationState, AllowPendingRemoval);
|
| ObserverSet observers;
|
| m_observers.swap(observers);
|
| for (ContextLifecycleObserver* observer : observers) {
|
|
|