| Index: third_party/WebKit/Source/platform/EventDispatchForbiddenScope.h
|
| diff --git a/third_party/WebKit/Source/platform/EventDispatchForbiddenScope.h b/third_party/WebKit/Source/platform/EventDispatchForbiddenScope.h
|
| index 5e97eb9707a795a8b0b8a057cc5d29bde4fb6790..5ed90103dc128d2f999b06ec0f13a76137455545 100644
|
| --- a/third_party/WebKit/Source/platform/EventDispatchForbiddenScope.h
|
| +++ b/third_party/WebKit/Source/platform/EventDispatchForbiddenScope.h
|
| @@ -8,7 +8,7 @@
|
| #include "platform/PlatformExport.h"
|
| #include "wtf/Allocator.h"
|
| #include "wtf/Assertions.h"
|
| -#include "wtf/TemporaryChange.h"
|
| +#include "wtf/AutoReset.h"
|
|
|
| namespace blink {
|
|
|
| @@ -42,7 +42,7 @@ public:
|
| STACK_ALLOCATED();
|
| public:
|
| AllowUserAgentEvents()
|
| - : m_change(s_count, 0)
|
| + : m_change(&s_count, 0)
|
| {
|
| ASSERT(isMainThread());
|
| }
|
| @@ -52,7 +52,7 @@ public:
|
| ASSERT(!s_count);
|
| }
|
|
|
| - TemporaryChange<unsigned> m_change;
|
| + AutoReset<unsigned> m_change;
|
| };
|
|
|
| private:
|
|
|