Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(610)

Unified Diff: components/nacl/loader/nacl_trusted_listener.cc

Issue 1548203002: Convert Pass()→std::move() in //components/[n-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad headers Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/nacl/loader/nacl_main.cc ('k') | components/nacl/loader/sandbox_linux/nacl_bpf_sandbox_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
}
« no previous file with comments | « components/nacl/loader/nacl_main.cc ('k') | components/nacl/loader/sandbox_linux/nacl_bpf_sandbox_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698