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

Unified Diff: content/shell/browser/shell_mojo_test_utils_android.cc

Issue 1552733002: Convert Pass()→std::move() in //content (Android edition) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 | « content/renderer/media/android/media_source_delegate.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_mojo_test_utils_android.cc
diff --git a/content/shell/browser/shell_mojo_test_utils_android.cc b/content/shell/browser/shell_mojo_test_utils_android.cc
index e0f97c38bbcc00fc10ad35ee8195682c63fde335..39063bb86eecb94eb46308c70d05ff7fcafb2aba 100644
--- a/content/shell/browser/shell_mojo_test_utils_android.cc
+++ b/content/shell/browser/shell_mojo_test_utils_android.cc
@@ -4,6 +4,8 @@
#include "content/shell/browser/shell_mojo_test_utils_android.h"
+#include <utility>
+
#include "base/memory/scoped_vector.h"
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
@@ -48,11 +50,11 @@ static ScopedJavaLocalRef<jobject> CreateServiceRegistryPair(
mojo::ServiceProviderPtr exposed_services_a;
registry_a->Bind(GetProxy(&exposed_services_a));
- registry_b->BindRemoteServiceProvider(exposed_services_a.Pass());
+ registry_b->BindRemoteServiceProvider(std::move(exposed_services_a));
mojo::ServiceProviderPtr exposed_services_b;
registry_b->Bind(GetProxy(&exposed_services_b));
- registry_a->BindRemoteServiceProvider(exposed_services_b.Pass());
+ registry_a->BindRemoteServiceProvider(std::move(exposed_services_b));
content::ServiceRegistryAndroid* wrapper_a =
new ServiceRegistryAndroid(registry_a);
« no previous file with comments | « content/renderer/media/android/media_source_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698