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

Unified Diff: mojo/edk/system/shared_buffer_dispatcher.h

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 | « media/mojo/services/media_type_converters.cc ('k') | mojo/edk/system/shared_buffer_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/shared_buffer_dispatcher.h
diff --git a/mojo/edk/system/shared_buffer_dispatcher.h b/mojo/edk/system/shared_buffer_dispatcher.h
index f3fc9e80cb14e4dccbfa9f8c27fe6fd271bff420..9075560309394abc05d32d2969aca852fd418522 100644
--- a/mojo/edk/system/shared_buffer_dispatcher.h
+++ b/mojo/edk/system/shared_buffer_dispatcher.h
@@ -5,6 +5,8 @@
#ifndef MOJO_EDK_SYSTEM_SHARED_BUFFER_DISPATCHER_H_
#define MOJO_EDK_SYSTEM_SHARED_BUFFER_DISPATCHER_H_
+#include <utility>
+
#include "mojo/edk/embedder/platform_shared_buffer.h"
#include "mojo/edk/system/simple_dispatcher.h"
#include "mojo/edk/system/system_impl_export.h"
@@ -58,7 +60,8 @@ class MOJO_SYSTEM_IMPL_EXPORT SharedBufferDispatcher final
private:
static scoped_refptr<SharedBufferDispatcher> CreateInternal(
scoped_refptr<PlatformSharedBuffer> shared_buffer) {
- return make_scoped_refptr(new SharedBufferDispatcher(shared_buffer.Pass()));
+ return make_scoped_refptr(
+ new SharedBufferDispatcher(std::move(shared_buffer)));
}
explicit SharedBufferDispatcher(
« no previous file with comments | « media/mojo/services/media_type_converters.cc ('k') | mojo/edk/system/shared_buffer_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698