| Index: third_party/WebKit/Source/core/page/PageVisibilityNotifier.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/PageVisibilityNotifier.cpp b/third_party/WebKit/Source/core/page/PageVisibilityNotifier.cpp
|
| index eb04fa716c40093bc5fe4a584cc3a52d465e2439..84942f4446de21e156df8a440787e835544d6960 100644
|
| --- a/third_party/WebKit/Source/core/page/PageVisibilityNotifier.cpp
|
| +++ b/third_party/WebKit/Source/core/page/PageVisibilityNotifier.cpp
|
| @@ -27,12 +27,13 @@
|
| #include "core/page/PageVisibilityNotifier.h"
|
|
|
| #include "core/page/PageVisibilityObserver.h"
|
| +#include "wtf/AutoReset.h"
|
|
|
| namespace blink {
|
|
|
| void PageVisibilityNotifier::notifyPageVisibilityChanged()
|
| {
|
| - TemporaryChange<IterationState> scope(m_iterationState, AllowingNone);
|
| + AutoReset<IterationState> scope(&m_iterationState, AllowingNone);
|
| for (PageVisibilityObserver* observer : m_observers)
|
| observer->pageVisibilityChanged();
|
| }
|
|
|