Index: chrome/common/ipc_channel_posix.cc |
diff --git a/chrome/common/ipc_channel_posix.cc b/chrome/common/ipc_channel_posix.cc |
index dad5ff82900c529b123e89e19e45a63366c82ed0..75dfa78c28ff5fc8aa43739481ad8f41e34c183b 100644 |
--- a/chrome/common/ipc_channel_posix.cc |
+++ b/chrome/common/ipc_channel_posix.cc |
@@ -164,7 +164,8 @@ Channel::ChannelImpl::ChannelImpl(const std::wstring& channel_id, Mode mode, |
: mode_(mode), |
is_blocked_on_write_(false), |
message_send_bytes_written_(0), |
- uses_fifo_(CommandLine().HasSwitch(switches::kTestingChannelID)), |
+ uses_fifo_(CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kTestingChannelID)), |
server_listen_pipe_(-1), |
pipe_(-1), |
client_pipe_(-1), |