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

Unified Diff: third_party/mojo/src/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
Index: third_party/mojo/src/mojo/edk/embedder/simple_platform_shared_buffer_android.cc
diff --git a/third_party/mojo/src/mojo/edk/embedder/simple_platform_shared_buffer_android.cc b/third_party/mojo/src/mojo/edk/embedder/simple_platform_shared_buffer_android.cc
index 34d11c5287df24c3ffcdb186cf8e94e7a66ca283..8eb8fb1ce0c71bb43ec61b81f1502baf83cbc88b 100644
--- a/third_party/mojo/src/mojo/edk/embedder/simple_platform_shared_buffer_android.cc
+++ b/third_party/mojo/src/mojo/edk/embedder/simple_platform_shared_buffer_android.cc
@@ -7,8 +7,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"
@@ -64,7 +64,7 @@ bool SimplePlatformSharedBuffer::InitFromPlatformHandle(
return false;
}
- handle_ = platform_handle.Pass();
+ handle_ = std::move(platform_handle);
return true;
}
« no previous file with comments | « net/test/spawned_test_server/spawner_communicator.cc ('k') | ui/events/gestures/blink/web_gesture_curve_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698