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

Unified Diff: mojo/runner/task_runners.cc

Issue 1538823002: Convert Pass()→std::move() in mojo/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « mojo/runner/host/out_of_process_native_runner.cc ('k') | mojo/runner/tracer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/task_runners.cc
diff --git a/mojo/runner/task_runners.cc b/mojo/runner/task_runners.cc
index c69f7c48867eee036e98b50c618f943d9eaff24a..306cab6a71b5122028a948e6d2ffa2fd7ad761d7 100644
--- a/mojo/runner/task_runners.cc
+++ b/mojo/runner/task_runners.cc
@@ -18,7 +18,7 @@ scoped_ptr<base::Thread> CreateIOThread(const char* name) {
base::Thread::Options options;
options.message_loop_type = base::MessageLoop::TYPE_IO;
thread->StartWithOptions(options);
- return thread.Pass();
+ return thread;
}
} // namespace
« no previous file with comments | « mojo/runner/host/out_of_process_native_runner.cc ('k') | mojo/runner/tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698