Index: chrome/browser/utility_process_host.cc |
=================================================================== |
--- chrome/browser/utility_process_host.cc (revision 22996) |
+++ chrome/browser/utility_process_host.cc (working copy) |
@@ -52,12 +52,7 @@ |
} |
std::wstring UtilityProcessHost::GetUtilityProcessCmd() { |
- std::wstring exe_path = CommandLine::ForCurrentProcess()->GetSwitchValue( |
- switches::kBrowserSubprocessPath); |
- if (exe_path.empty()) { |
- PathService::Get(base::FILE_EXE, &exe_path); |
- } |
- return exe_path; |
+ return GetChildPath(); |
} |
bool UtilityProcessHost::StartProcess(const FilePath& exposed_dir) { |