| 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 61923c8bef9f66a3b383e28e541773ef7ea0fcc0..90912eaf743691709b5709317215123d85c4f8c4 100644
|
| --- a/components/arc/crash_collector/arc_crash_collector_bridge.cc
|
| +++ b/components/arc/crash_collector/arc_crash_collector_bridge.cc
|
| @@ -28,11 +28,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,
|
|
|