| Index: third_party/WebKit/Source/platform/LifecycleNotifier.h
|
| diff --git a/third_party/WebKit/Source/platform/LifecycleNotifier.h b/third_party/WebKit/Source/platform/LifecycleNotifier.h
|
| index 72d6680d78628c5f095463ca3978c2cf48b343ca..11f3e658182ce23519528992be0c0aaad4e342b9 100644
|
| --- a/third_party/WebKit/Source/platform/LifecycleNotifier.h
|
| +++ b/third_party/WebKit/Source/platform/LifecycleNotifier.h
|
| @@ -28,8 +28,8 @@
|
| #define LifecycleNotifier_h
|
|
|
| #include "platform/heap/Handle.h"
|
| +#include "wtf/AutoReset.h"
|
| #include "wtf/HashSet.h"
|
| -#include "wtf/TemporaryChange.h"
|
|
|
| namespace blink {
|
|
|
| @@ -94,7 +94,7 @@ template<typename T, typename Observer>
|
| inline void LifecycleNotifier<T, Observer>::notifyContextDestroyed()
|
| {
|
| // Observer unregistration is allowed, but effectively a no-op.
|
| - TemporaryChange<IterationState> scope(m_iterationState, AllowingRemoval);
|
| + AutoReset<IterationState> scope(&m_iterationState, AllowingRemoval);
|
| ObserverSet observers;
|
| m_observers.swap(observers);
|
| for (Observer* observer : observers) {
|
|
|