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

Unified Diff: chrome/nacl/nacl_fork_delegate_linux.cc

Issue 7821021: Enable nacl_helper by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Also re-enable NaCl for 32-bit Linux Created 9 years, 4 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/nacl/nacl_fork_delegate_linux.cc
diff --git a/chrome/nacl/nacl_fork_delegate_linux.cc b/chrome/nacl/nacl_fork_delegate_linux.cc
index 26fae5386d13f478ddc16b7a28ae88db6d728b45..2169e4bf508a96404f323c0dea794b89c616d998 100644
--- a/chrome/nacl/nacl_fork_delegate_linux.cc
+++ b/chrome/nacl/nacl_fork_delegate_linux.cc
@@ -47,7 +47,8 @@ void NaClForkDelegate::Init(const bool sandboxed,
// TODO(bradchen): To make this the default for release builds,
// remove command line switch.
ready_ = false;
- const bool use_helper = CommandLine::ForCurrentProcess()->HasSwitch(
+ // Use helper if kNaClLinuxHelper switch is not found.
+ const bool use_helper = !CommandLine::ForCurrentProcess()->HasSwitch(
switches::kNaClLinuxHelper);
FilePath helper_exe;
FilePath helper_bootstrap_exe;
« no previous file with comments | « no previous file | chrome/renderer/chrome_content_renderer_client.cc » ('j') | chrome/renderer/chrome_content_renderer_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698