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

Unified Diff: mojo/edk/embedder/simple_platform_shared_buffer_android.cc

Issue 1557553002: Global conversion of Pass()→std::move() on OS=android (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
« no previous file with comments | « no previous file | net/android/keystore_openssl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/embedder/simple_platform_shared_buffer_android.cc
diff --git a/mojo/edk/embedder/simple_platform_shared_buffer_android.cc b/mojo/edk/embedder/simple_platform_shared_buffer_android.cc
index 710243479ddbd55397e087a032e9425f0c262dac..97ec976012d552b022a26a89abc7dca37f4d08f9 100644
--- a/mojo/edk/embedder/simple_platform_shared_buffer_android.cc
+++ b/mojo/edk/embedder/simple_platform_shared_buffer_android.cc
@@ -8,8 +8,8 @@
#include <stdint.h>
#include <sys/mman.h> // For |PROT_...|.
#include <sys/types.h> // For |off_t|.
-
#include <limits>
+#include <utility>
#include "base/files/scoped_file.h"
#include "base/logging.h"
@@ -65,7 +65,7 @@ bool SimplePlatformSharedBuffer::InitFromPlatformHandle(
return false;
}
- handle_ = platform_handle.Pass();
+ handle_ = std::move(platform_handle);
return true;
}
« no previous file with comments | « no previous file | net/android/keystore_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698