Index: chrome/test/automation/proxy_launcher.cc |
diff --git a/chrome/test/automation/proxy_launcher.cc b/chrome/test/automation/proxy_launcher.cc |
index 3871966ee8b51f27312a3e3737e8009b7bdfab97..e3565b0d9015c8646a150b8b216a58e83a1755af 100644 |
--- a/chrome/test/automation/proxy_launcher.cc |
+++ b/chrome/test/automation/proxy_launcher.cc |
@@ -35,6 +35,7 @@ |
#if defined(OS_POSIX) |
#include <signal.h> |
+#include "base/posix/global_descriptors.h" |
#endif |
namespace { |
@@ -503,7 +504,8 @@ bool ProxyLauncher::LaunchBrowserHelper(const LaunchState& state, |
base::FileHandleMappingVector fds; |
if (main_launch && automation_proxy_.get()) { |
ipcfd = automation_proxy_->channel()->TakeClientFileDescriptor(); |
- fds.push_back(std::make_pair(ipcfd, kPrimaryIPCChannel + 3)); |
+ fds.push_back(std::make_pair(ipcfd, |
+ kPrimaryIPCChannel + base::GlobalDescriptors::kBaseDescriptor)); |
options.fds_to_remap = &fds; |
} |
#endif |