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

Unified Diff: mojo/edk/test/scoped_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
« no previous file with comments | « mojo/edk/system/shared_buffer_dispatcher.cc ('k') | mojo/public/cpp/bindings/lib/bindings_serialization.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/test/scoped_ipc_support.cc
diff --git a/mojo/edk/test/scoped_ipc_support.cc b/mojo/edk/test/scoped_ipc_support.cc
index 6e9c11c2d10c35ee35ad0eaa3da278c279f9058f..2fb3126ff9d92561b21e05cc0930582149316511 100644
--- a/mojo/edk/test/scoped_ipc_support.cc
+++ b/mojo/edk/test/scoped_ipc_support.cc
@@ -4,6 +4,8 @@
#include "mojo/edk/test/scoped_ipc_support.h"
+#include <utility>
+
#include "base/message_loop/message_loop.h"
#include "mojo/edk/embedder/embedder.h"
@@ -41,7 +43,7 @@ void ScopedIPCSupportHelper::OnShutdownCompleteImpl() {
ScopedIPCSupport::ScopedIPCSupport(
scoped_refptr<base::TaskRunner> io_thread_task_runner) {
- helper_.Init(this, io_thread_task_runner.Pass());
+ helper_.Init(this, std::move(io_thread_task_runner));
}
ScopedIPCSupport::~ScopedIPCSupport() {
« no previous file with comments | « mojo/edk/system/shared_buffer_dispatcher.cc ('k') | mojo/public/cpp/bindings/lib/bindings_serialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698