| Index: components/nacl/browser/nacl_process_host.cc
|
| diff --git a/components/nacl/browser/nacl_process_host.cc b/components/nacl/browser/nacl_process_host.cc
|
| index 01fed51c21a787607c46095964053e8df3fbad84..863c4b82d5adf016082c97e857d1e27ec7e9e659 100644
|
| --- a/components/nacl/browser/nacl_process_host.cc
|
| +++ b/components/nacl/browser/nacl_process_host.cc
|
| @@ -77,6 +77,7 @@
|
| #include "base/win/scoped_handle.h"
|
| #include "components/nacl/browser/nacl_broker_service_win.h"
|
| #include "components/nacl/common/nacl_debug_exception_handler_win.h"
|
| +#include "components/startup_metric_utils/common/pre_read_field_trial_utils_win.h"
|
| #include "content/public/common/sandbox_init.h"
|
| #endif
|
|
|
| @@ -643,7 +644,12 @@ bool NaClProcessHost::LaunchSelLdr() {
|
| if (NaClBrowser::GetDelegate()->DialogsAreSuppressed())
|
| cmd_line->AppendSwitch(switches::kNoErrorDialogs);
|
|
|
| - // On Windows we might need to start the broker process to launch a new loader
|
| +#if defined(OS_WIN)
|
| + if (startup_metric_utils::GetPreReadOptions().use_prefetch_argument)
|
| + cmd_line->AppendArg(switches::kPrefetchArgumentOther);
|
| +#endif // defined(OS_WIN)
|
| +
|
| +// On Windows we might need to start the broker process to launch a new loader
|
| #if defined(OS_WIN)
|
| if (RunningOnWOW64()) {
|
| if (!NaClBrokerService::GetInstance()->LaunchLoader(
|
|
|