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

Unified Diff: mojo/edk/embedder/scoped_platform_handle.h

Issue 1345383002: Use MOJO_MOVE_ONLY_TYPE instead of base's MOVE_ONLY_TYPE_WITH_MOVE_CONSTRUCTOR_FOR_CPP_03 in scoped… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/embedder/scoped_platform_handle.h
diff --git a/mojo/edk/embedder/scoped_platform_handle.h b/mojo/edk/embedder/scoped_platform_handle.h
index 0e8058352150c5d92aa9c24163c2ab5899ebcb84..774f9700ca96da89c9e49ffdef45d9e0ec5fa3e0 100644
--- a/mojo/edk/embedder/scoped_platform_handle.h
+++ b/mojo/edk/embedder/scoped_platform_handle.h
@@ -5,10 +5,10 @@
#ifndef MOJO_EDK_EMBEDDER_SCOPED_PLATFORM_HANDLE_H_
#define MOJO_EDK_EMBEDDER_SCOPED_PLATFORM_HANDLE_H_
-#include "base/move.h"
#include "mojo/edk/embedder/platform_handle.h"
#include "mojo/edk/system/system_impl_export.h"
#include "mojo/public/c/system/macros.h"
+#include "mojo/public/cpp/system/macros.h"
namespace mojo {
namespace embedder {
@@ -16,7 +16,7 @@ namespace embedder {
// Scoper for |PlatformHandle|s, which are file descriptors on POSIX and
// |HANDLE|s on Windows.
class MOJO_SYSTEM_IMPL_EXPORT ScopedPlatformHandle {
- MOVE_ONLY_TYPE_WITH_MOVE_CONSTRUCTOR_FOR_CPP_03(ScopedPlatformHandle)
+ MOJO_MOVE_ONLY_TYPE(ScopedPlatformHandle)
public:
ScopedPlatformHandle() {}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698