Index: components/arc/crash_collector/arc_crash_collector_bridge.cc |
diff --git a/components/arc/crash_collector/arc_crash_collector_bridge.cc b/components/arc/crash_collector/arc_crash_collector_bridge.cc |
index 2ca3da4f26a9df02e6dc0b9cb3ccddc300214536..95ef388f23a8c3eb9079e3f6fd3556dec3b666c0 100644 |
--- a/components/arc/crash_collector/arc_crash_collector_bridge.cc |
+++ b/components/arc/crash_collector/arc_crash_collector_bridge.cc |
@@ -24,11 +24,9 @@ void RunCrashReporter(const std::string& crash_type, |
const std::string& board, |
const std::string& cpu_abi, |
mojo::edk::ScopedPlatformHandle pipe) { |
- base::FileHandleMappingVector fd_map = { |
- std::make_pair(pipe.get().handle, STDIN_FILENO)}; |
- |
base::LaunchOptions options; |
- options.fds_to_remap = &fd_map; |
+ options.fds_to_remap.push_back( |
+ std::make_pair(pipe.get().handle, STDIN_FILENO)); |
auto process = |
base::LaunchProcess({kCrashReporterPath, "--arc_java_crash=" + crash_type, |