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

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

Issue 392023002: Remove disable-pnacl flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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: 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 c372dafd8c641a69223ffee393a3b40d64704bde..6bfd57581aa82eff64c341a208013524ed4de3c4 100644
--- a/chrome/browser/ui/webui/nacl_ui.cc
+++ b/chrome/browser/ui/webui/nacl_ui.cc
@@ -253,9 +253,6 @@ void NaClDomHandler::AddPnaclInfo(base::ListValue* list) {
base::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'");
}
AddPair(list,
ASCIIToUTF16("Portable Native Client (PNaCl)"),

Powered by Google App Engine
This is Rietveld 408576698