| Index: components/crash/content/app/crashpad_win.cc
|
| diff --git a/components/crash/content/app/crashpad_win.cc b/components/crash/content/app/crashpad_win.cc
|
| index 684366e88e5d81a0e363a9303cc76d9f60bf4921..856ef886482ea62a50bea6cf53125e62628e57a0 100644
|
| --- a/components/crash/content/app/crashpad_win.cc
|
| +++ b/components/crash/content/app/crashpad_win.cc
|
| @@ -68,8 +68,7 @@ base::FilePath PlatformCrashpadInitialization(bool initial_client,
|
| // In test binaries, use crashpad_handler directly. Otherwise, we launch
|
| // chrome.exe with --type=crashpad-handler.
|
| if (exe_file.BaseName().value() != FILE_PATH_LITERAL("chrome.exe")) {
|
| - base::FilePath exe_dir;
|
| - CHECK(PathService::Get(base::DIR_EXE, &exe_dir));
|
| + base::FilePath exe_dir = exe_file.DirName();
|
| exe_file = exe_dir.Append(FILE_PATH_LITERAL("crashpad_handler.exe"));
|
| } else {
|
| arguments.push_back("--type=crashpad-handler");
|
|
|