Index: chrome/utility/importer/firefox_importer_unittest_utils_mac.cc |
diff --git a/chrome/utility/importer/firefox_importer_unittest_utils_mac.cc b/chrome/utility/importer/firefox_importer_unittest_utils_mac.cc |
index 7000fc4a735c165d7834c95275938f3cd8e3ad5d..28568499d91430e9bef273fa8994adba668965d2 100644 |
--- a/chrome/utility/importer/firefox_importer_unittest_utils_mac.cc |
+++ b/chrome/utility/importer/firefox_importer_unittest_utils_mac.cc |
@@ -151,9 +151,9 @@ FFUnitTestDecryptorProxy::~FFUnitTestDecryptorProxy() { |
channel_->Close(); |
if (child_process_.IsValid()) { |
- base::WaitForSingleProcess(child_process_.Handle(), |
- base::TimeDelta::FromSeconds(5)); |
- child_process_.Close(); |
+ int exit_code; |
+ child_process_.WaitForExitWithTimeout(base::TimeDelta::FromSeconds(5), |
+ &exit_code); |
} |
} |