| Index: third_party/WebKit/Source/core/html/HTMLIFrameElementSandbox.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLIFrameElementSandbox.cpp b/third_party/WebKit/Source/core/html/HTMLIFrameElementSandbox.cpp
|
| index 3885b4453f6992fffef818f10b9eb94c61d28fb7..da28648ccafc2d19f2b139cdc7215de3c59da075 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLIFrameElementSandbox.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLIFrameElementSandbox.cpp
|
| @@ -10,17 +10,17 @@ namespace blink {
|
|
|
| namespace {
|
|
|
| -const char* const kSupportedTokens[] = {"allow-forms",
|
| - "allow-modals",
|
| - "allow-pointer-lock",
|
| - "allow-popups",
|
| - "allow-popups-to-escape-sandbox",
|
| - "allow-same-origin",
|
| - "allow-scripts",
|
| - "allow-top-navigation"};
|
| +const char* const kSupportedSandboxTokens[] = {"allow-forms",
|
| + "allow-modals",
|
| + "allow-pointer-lock",
|
| + "allow-popups",
|
| + "allow-popups-to-escape-sandbox",
|
| + "allow-same-origin",
|
| + "allow-scripts",
|
| + "allow-top-navigation"};
|
|
|
| bool IsTokenSupported(const AtomicString& token) {
|
| - for (const char* supported_token : kSupportedTokens) {
|
| + for (const char* supported_token : kSupportedSandboxTokens) {
|
| if (token == supported_token)
|
| return true;
|
| }
|
|
|