| Index: third_party/WebKit/Source/core/frame/PlatformEventDispatcher.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/PlatformEventDispatcher.cpp b/third_party/WebKit/Source/core/frame/PlatformEventDispatcher.cpp
|
| index 76d1c9bb45fbe7165dbc5fc3d6b88b87f345f834..8ebef6e81b7e732db3a7874655a6a14ad674b807 100644
|
| --- a/third_party/WebKit/Source/core/frame/PlatformEventDispatcher.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/PlatformEventDispatcher.cpp
|
| @@ -5,7 +5,7 @@
|
| #include "core/frame/PlatformEventDispatcher.h"
|
|
|
| #include "core/frame/PlatformEventController.h"
|
| -#include "wtf/TemporaryChange.h"
|
| +#include "wtf/AutoReset.h"
|
|
|
| namespace blink {
|
|
|
| @@ -48,7 +48,7 @@ void PlatformEventDispatcher::notifyControllers()
|
| return;
|
|
|
| {
|
| - TemporaryChange<bool> changeIsDispatching(m_isDispatching, true);
|
| + AutoReset<bool> changeIsDispatching(&m_isDispatching, true);
|
| // HashSet m_controllers can be updated during an iteration, and it stops the iteration.
|
| // Thus we store it into a Vector to access all elements.
|
| HeapVector<Member<PlatformEventController>> snapshotVector;
|
|
|