Index: chrome_frame/test/perf/chrome_frame_perftest.cc |
=================================================================== |
--- chrome_frame/test/perf/chrome_frame_perftest.cc (revision 80488) |
+++ chrome_frame/test/perf/chrome_frame_perftest.cc (working copy) |
@@ -1358,7 +1358,8 @@ |
bool RunSingleTestOutOfProc(const std::string& test_name) { |
FilePath path; |
- PathService::Get(base::DIR_EXE, &path); |
+ if (!PathService::Get(base::DIR_EXE, &path)) |
+ return false; |
path = path.Append(L"chrome_frame_tests.exe"); |
CommandLine cmd_line(path); |
@@ -1384,6 +1385,8 @@ |
base::KillProcess(process_handle, -1, true); |
} |
+ base::CloseProcessHandle(process_handle); |
+ |
return exit_code == 0; |
} |