| Index: third_party/WebKit/Source/platform/ScriptForbiddenScope.h
|
| diff --git a/third_party/WebKit/Source/platform/ScriptForbiddenScope.h b/third_party/WebKit/Source/platform/ScriptForbiddenScope.h
|
| index 0c077ca37e4caf2b7f2343651836035e2f3269e7..4a8e814454cab02ad9fdd6837175c59d9136d435 100644
|
| --- a/third_party/WebKit/Source/platform/ScriptForbiddenScope.h
|
| +++ b/third_party/WebKit/Source/platform/ScriptForbiddenScope.h
|
| @@ -7,8 +7,8 @@
|
|
|
| #include "platform/PlatformExport.h"
|
| #include "wtf/Allocator.h"
|
| +#include "wtf/AutoReset.h"
|
| #include "wtf/Optional.h"
|
| -#include "wtf/TemporaryChange.h"
|
|
|
| namespace blink {
|
|
|
| @@ -28,7 +28,7 @@ public:
|
| AllowUserAgentScript();
|
| ~AllowUserAgentScript();
|
| private:
|
| - Optional<TemporaryChange<unsigned>> m_change;
|
| + Optional<AutoReset<unsigned>> m_change;
|
| };
|
|
|
| static void enter();
|
|
|