Index: components/nacl/loader/nacl_trusted_listener.cc |
diff --git a/components/nacl/loader/nacl_trusted_listener.cc b/components/nacl/loader/nacl_trusted_listener.cc |
index 2881a02cd8d8494ffc563c80c49ab0ebbe225be2..771dd7d7223db18a5485c083daf3c884010b91d4 100644 |
--- a/components/nacl/loader/nacl_trusted_listener.cc |
+++ b/components/nacl/loader/nacl_trusted_listener.cc |
@@ -38,12 +38,10 @@ NaClTrustedListener::NaClTrustedListener( |
base::SingleThreadTaskRunner* ipc_task_runner, |
base::WaitableEvent* shutdown_event) |
: channel_handle_(handle) { |
- channel_ = IPC::SyncChannel::Create(handle, |
- IPC::Channel::MODE_SERVER, |
- this, |
- ipc_task_runner, |
- true, /* create_channel_now */ |
- shutdown_event).Pass(); |
+ channel_ = |
+ IPC::SyncChannel::Create(handle, IPC::Channel::MODE_SERVER, this, |
+ ipc_task_runner, true, /* create_channel_now */ |
+ shutdown_event); |
channel_->AddFilter(new EOFMessageFilter()); |
} |