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 f38de6bae24cc49762b7792cbd9cdfb2b360c9c9..6111748e8e569acce61ff75642ddda0a370f4604 100644 |
--- a/chrome/browser/ui/webui/nacl_ui.cc |
+++ b/chrome/browser/ui/webui/nacl_ui.cc |
@@ -249,9 +249,9 @@ void NaClDomHandler::AddPnaclInfo(ListValue* list) { |
string16 pnacl_enabled_string = ASCIIToUTF16("Enabled"); |
if (!isPluginEnabled(0)) { |
pnacl_enabled_string = ASCIIToUTF16("Disabled in profile prefs"); |
- } else if (CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kDisablePnacl)) { |
- pnacl_enabled_string = ASCIIToUTF16("Disabled by flag '--disable-pnacl'"); |
+ } else if (!CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kEnablePnacl)) { |
+ pnacl_enabled_string = ASCIIToUTF16("Not enabled by flag '--enable-pnacl'"); |
} |
AddPair(list, |
ASCIIToUTF16("Portable Native Client (PNaCl)"), |