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

Unified Diff: third_party/mojo/src/mojo/edk/system/ipc_support.cc

Issue 1477643002: Remove the TYPE_WITH_MOVE_CONSTRUCTOR_FOR_CPP_03 macro. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@basepass
Patch Set: type-with-move: no-media 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
Index: third_party/mojo/src/mojo/edk/system/ipc_support.cc
diff --git a/third_party/mojo/src/mojo/edk/system/ipc_support.cc b/third_party/mojo/src/mojo/edk/system/ipc_support.cc
index ba4f05f5335621b22c490110338826ce1a1db579..173857814218892fa646c101bf819dbb6088e765 100644
--- a/third_party/mojo/src/mojo/edk/system/ipc_support.cc
+++ b/third_party/mojo/src/mojo/edk/system/ipc_support.cc
@@ -4,6 +4,8 @@
#include "third_party/mojo/src/mojo/edk/system/ipc_support.h"
+#include <utility>
+
#include "base/logging.h"
#include "third_party/mojo/src/mojo/edk/embedder/master_process_delegate.h"
#include "third_party/mojo/src/mojo/edk/embedder/slave_process_delegate.h"
@@ -15,15 +17,14 @@
namespace mojo {
namespace system {
-IPCSupport::IPCSupport(
- embedder::PlatformSupport* platform_support,
- embedder::ProcessType process_type,
- embedder::ProcessDelegate* process_delegate,
- scoped_refptr<base::TaskRunner> io_thread_task_runner,
- embedder::ScopedPlatformHandle platform_handle)
+IPCSupport::IPCSupport(embedder::PlatformSupport* platform_support,
+ embedder::ProcessType process_type,
+ embedder::ProcessDelegate* process_delegate,
+ scoped_refptr<base::TaskRunner> io_thread_task_runner,
+ embedder::ScopedPlatformHandle platform_handle)
: process_type_(process_type),
process_delegate_(process_delegate),
- io_thread_task_runner_(io_thread_task_runner.Pass()) {
+ io_thread_task_runner_(std::move(io_thread_task_runner)) {
DCHECK(io_thread_task_runner_);
switch (process_type_) {
« no previous file with comments | « third_party/mojo/src/mojo/edk/system/channel.cc ('k') | third_party/mojo/src/mojo/edk/system/ipc_support_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698