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

Unified Diff: chrome/browser/ui/webui/nacl_ui.cc

Issue 816403003: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years 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: chrome/browser/ui/webui/nacl_ui.cc
diff --git a/chrome/browser/ui/webui/nacl_ui.cc b/chrome/browser/ui/webui/nacl_ui.cc
index b71ea775b4a92aa8efb40464352eadd1e6744ddf..d844a40cf7c817ffa53cf8e99fe0727de4768c50 100644
--- a/chrome/browser/ui/webui/nacl_ui.cc
+++ b/chrome/browser/ui/webui/nacl_ui.cc
@@ -276,7 +276,8 @@ void NaClDomHandler::AddPnaclInfo(base::ListValue* list) {
void NaClDomHandler::AddNaClInfo(base::ListValue* list) {
base::string16 nacl_enabled_string = ASCIIToUTF16("Disabled");
if (isPluginEnabled(0) &&
- CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableNaCl)) {
+ base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableNaCl)) {
nacl_enabled_string = ASCIIToUTF16("Enabled by flag '--enable-nacl'");
}
AddPair(list,

Powered by Google App Engine
This is Rietveld 408576698