| Index: chrome/browser/nacl_host/nacl_broker_host_win.cc
|
| diff --git a/chrome/browser/nacl_host/nacl_broker_host_win.cc b/chrome/browser/nacl_host/nacl_broker_host_win.cc
|
| index 2115adb573cec1d9dbb82e6b2278f61a5919f5a8..8b6a5042b244c7d9c4416b5dc8013fc91b4715aa 100644
|
| --- a/chrome/browser/nacl_host/nacl_broker_host_win.cc
|
| +++ b/chrome/browser/nacl_host/nacl_broker_host_win.cc
|
| @@ -9,7 +9,6 @@
|
| #include "ipc/ipc_switches.h"
|
| #include "chrome/browser/nacl_host/nacl_broker_service_win.h"
|
| #include "chrome/browser/nacl_host/nacl_process_host.h"
|
| -#include "chrome/common/chrome_constants.h"
|
| #include "chrome/common/chrome_process_type.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/logging_chrome.h"
|
| @@ -52,11 +51,10 @@ bool NaClBrokerHost::Init() {
|
| return false;
|
|
|
| // Create the path to the nacl broker/loader executable.
|
| - base::FilePath module_path;
|
| - if (!PathService::Get(base::FILE_MODULE, &module_path))
|
| + base::FilePath nacl_path;
|
| + if (!GetNaclAppPath(nacl_path))
|
| return false;
|
|
|
| - base::FilePath nacl_path = module_path.DirName().Append(chrome::kNaClAppName);
|
| CommandLine* cmd_line = new CommandLine(nacl_path);
|
| nacl::CopyNaClCommandLineArguments(cmd_line);
|
|
|
|
|