Index: components/nacl/zygote/nacl_fork_delegate_linux.cc |
diff --git a/components/nacl/zygote/nacl_fork_delegate_linux.cc b/components/nacl/zygote/nacl_fork_delegate_linux.cc |
index 5a67af07cf64cb3056b92c7be5202050e1435ace..2b13cfbe830f04c143af94a92724f4cad3221349 100644 |
--- a/components/nacl/zygote/nacl_fork_delegate_linux.cc |
+++ b/components/nacl/zygote/nacl_fork_delegate_linux.cc |
@@ -188,7 +188,9 @@ void NaClForkDelegate::Init(const int sandboxdesc, |
status_ = kNaClHelperUnused; |
base::FilePath helper_exe; |
base::FilePath helper_bootstrap_exe; |
- if (!PathService::Get(nacl::FILE_NACL_HELPER, &helper_exe)) { |
+ if (!PathService::Get( |
+ nonsfi_mode_ ? nacl::FILE_NACL_HELPER_NONSFI : nacl::FILE_NACL_HELPER, |
+ &helper_exe)) { |
status_ = kNaClHelperMissing; |
} else if (use_nacl_bootstrap && |
!PathService::Get(nacl::FILE_NACL_HELPER_BOOTSTRAP, |