summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_test_base.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipc_test_base.cc')
-rw-r--r--ipc/ipc_test_base.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/ipc/ipc_test_base.cc b/ipc/ipc_test_base.cc
index 4e7133b..589ee98 100644
--- a/ipc/ipc_test_base.cc
+++ b/ipc/ipc_test_base.cc
@@ -97,8 +97,9 @@ bool IPCTestBase::StartClient() {
client_process_ = SpawnChild(test_main);
#elif defined(OS_POSIX)
base::FileHandleMappingVector fds_to_map;
- const int ipcfd = channel_.get() ? channel_->GetClientFileDescriptor() :
- channel_proxy_->GetClientFileDescriptor();
+ const int ipcfd = channel_.get()
+ ? channel_->GetClientFileDescriptor()
+ : channel_proxy_->GetClientFileDescriptor();
if (ipcfd > -1)
fds_to_map.push_back(std::pair<int, int>(ipcfd,
kPrimaryIPCChannel + base::GlobalDescriptors::kBaseDescriptor));