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

Unified Diff: shell/task_runners.cc

Issue 1408793006: Convert "return local_var.Pass();" to "return local_var;". (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 months 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 | « shell/application_manager/network_fetcher.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/task_runners.cc
diff --git a/shell/task_runners.cc b/shell/task_runners.cc
index ae6ecc6752a80efc5ac314c33c0eb638d735f155..f72de083223da7895894d244e3c5d9297c0918fd 100644
--- a/shell/task_runners.cc
+++ b/shell/task_runners.cc
@@ -17,7 +17,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 | « shell/application_manager/network_fetcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698