| 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 b370dcdb8b36a7c83511206d9b632f24a094ad36..24fe06442097857c4e1f9eb7f8c6c237b8c540d9 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* g_k_supported_tokens[] = {"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 kSupportedTokens[] = {"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 : g_k_supported_tokens) {
|
| + for (const char* supported_token : kSupportedTokens) {
|
| if (token == supported_token)
|
| return true;
|
| }
|
|
|