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

Unified Diff: content/browser/ppapi_plugin_process_host.cc

Issue 1875913002: Cleanup: Convert const char* kFoo to const char kFoo[]. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: content/browser/ppapi_plugin_process_host.cc
diff --git a/content/browser/ppapi_plugin_process_host.cc b/content/browser/ppapi_plugin_process_host.cc
index 56ae0eea7f4a8c901e0a6f080d06aa1fe49e62e6..efd6d33759d19acf2eae31f3970fa85d73d44793 100644
--- a/content/browser/ppapi_plugin_process_host.cc
+++ b/content/browser/ppapi_plugin_process_host.cc
@@ -402,14 +402,14 @@ bool PpapiPluginProcessHost::Init(const PepperPluginInfo& info) {
#endif // defined(OS_WIN)
// These switches are forwarded to both plugin and broker pocesses.
- static const char* kCommonForwardSwitches[] = {
+ static const char* const kCommonForwardSwitches[] = {
switches::kVModule
};
cmd_line->CopySwitchesFrom(browser_command_line, kCommonForwardSwitches,
arraysize(kCommonForwardSwitches));
if (!is_broker_) {
- static const char* kPluginForwardSwitches[] = {
+ static const char* const kPluginForwardSwitches[] = {
switches::kDisableSeccompFilterSandbox,
#if defined(OS_MACOSX)
switches::kEnableSandboxLogging,

Powered by Google App Engine
This is Rietveld 408576698