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

Unified Diff: third_party/mojo/src/mojo/edk/embedder/simple_platform_support.cc

Issue 1545333002: Convert Pass()→std::move() in //third_party/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/embedder/simple_platform_support.cc
diff --git a/third_party/mojo/src/mojo/edk/embedder/simple_platform_support.cc b/third_party/mojo/src/mojo/edk/embedder/simple_platform_support.cc
index 7a83783ad2bee045435643bdda8204ef0b449cc4..3beb7b66c3eaaae81e1ec1ef7e5ad6236395bf21 100644
--- a/third_party/mojo/src/mojo/edk/embedder/simple_platform_support.cc
+++ b/third_party/mojo/src/mojo/edk/embedder/simple_platform_support.cc
@@ -4,6 +4,8 @@
#include "third_party/mojo/src/mojo/edk/embedder/simple_platform_support.h"
+#include <utility>
+
#include "base/rand_util.h"
#include "third_party/mojo/src/mojo/edk/embedder/simple_platform_shared_buffer.h"
@@ -24,7 +26,7 @@ PlatformSharedBuffer* SimplePlatformSupport::CreateSharedBufferFromHandle(
size_t num_bytes,
ScopedPlatformHandle platform_handle) {
return SimplePlatformSharedBuffer::CreateFromPlatformHandle(
- num_bytes, platform_handle.Pass());
+ num_bytes, std::move(platform_handle));
}
} // namespace embedder

Powered by Google App Engine
This is Rietveld 408576698