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; |