Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Unified Diff: net/url_request/url_request_unittest.h

Issue 14497: POSIX: don't leak FDs when launching child Processes. (Closed)
Patch Set: Fix Windows Compilation Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/process_util_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_unittest.h
diff --git a/net/url_request/url_request_unittest.h b/net/url_request/url_request_unittest.h
index e2b8ca3368c35b05c92ab106bb12587438e8a91d..52fa429cea8d3e9922f1c1b8c2ce4d7e5ce58642 100644
--- a/net/url_request/url_request_unittest.h
+++ b/net/url_request/url_request_unittest.h
@@ -342,8 +342,9 @@ class TestServer : public base::ProcessFilter {
if (!cert_path.empty())
command_line.push_back("--https=" + WideToUTF8(cert_path));
+ base::file_handle_mapping_vector no_mappings;
ASSERT_TRUE(
- base::LaunchApp(command_line, false, &process_handle_)) <<
+ base::LaunchApp(command_line, no_mappings, false, &process_handle_)) <<
"Failed to launch " << command_line[0] << " ...";
#endif
« no previous file with comments | « base/process_util_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698