| Index: Source/platform/ScriptForbiddenScope.h
|
| diff --git a/Source/platform/ScriptForbiddenScope.h b/Source/platform/ScriptForbiddenScope.h
|
| index a68fdceaf0179411614e1a8964ce03848cb41845..9c3ba7e8f5dda74bb6ab5445c065f6fecf9b7b77 100644
|
| --- a/Source/platform/ScriptForbiddenScope.h
|
| +++ b/Source/platform/ScriptForbiddenScope.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "platform/PlatformExport.h"
|
| #include "wtf/Assertions.h"
|
| +#include "wtf/Optional.h"
|
| #include "wtf/TemporaryChange.h"
|
|
|
| namespace blink {
|
| @@ -21,7 +22,7 @@ public:
|
| AllowUserAgentScript();
|
| ~AllowUserAgentScript();
|
| private:
|
| - TemporaryChange<unsigned> m_change;
|
| + Optional<TemporaryChange<unsigned>> m_change;
|
| };
|
|
|
| static void enter();
|
|
|