| Index: chrome/test/in_process_browser_test.cc
|
| ===================================================================
|
| --- chrome/test/in_process_browser_test.cc (revision 57207)
|
| +++ chrome/test/in_process_browser_test.cc (working copy)
|
| @@ -166,6 +166,15 @@
|
| subprocess_path = subprocess_path.DirName();
|
| subprocess_path = subprocess_path.AppendASCII(WideToASCII(
|
| chrome::kBrowserProcessExecutablePath));
|
| +#if defined(OS_MACOSX)
|
| + // Recreate the real environment, run the helper within the app bundle.
|
| + subprocess_path = subprocess_path.DirName().DirName();
|
| + DCHECK_EQ(subprocess_path.BaseName().value(), "Contents");
|
| + subprocess_path =
|
| + subprocess_path.Append("Versions").Append(chrome::kChromeVersion);
|
| + subprocess_path =
|
| + subprocess_path.Append(chrome::kHelperProcessExecutablePath);
|
| +#endif
|
| command_line->AppendSwitchPath(switches::kBrowserSubprocessPath,
|
| subprocess_path);
|
| #endif
|
|
|