Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1516)

Unified Diff: third_party/WebKit/Source/core/html/HTMLIFrameElementSandbox.cpp

Issue 2809983002: Fix g_k_* symbols after blink rename. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698