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

Unified Diff: ui/views/mus/surface_binding.cc

Issue 1539583003: Convert Pass()→std::move() in ui/ (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 | « ui/views/mus/input_method_mus.cc ('k') | ui/views/mus/window_manager_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/surface_binding.cc
diff --git a/ui/views/mus/surface_binding.cc b/ui/views/mus/surface_binding.cc
index 74b97306940e3f01a2f6eb46c6dde6d987975341..f42aabb30912d89c8aee34c424074d3fdab79a49 100644
--- a/ui/views/mus/surface_binding.cc
+++ b/ui/views/mus/surface_binding.cc
@@ -5,6 +5,7 @@
#include "ui/views/mus/surface_binding.h"
#include <map>
+#include <utility>
#include "base/bind.h"
#include "base/lazy_instance.h"
@@ -128,7 +129,7 @@ void SurfaceBinding::PerConnectionState::Init() {
mojo::ServiceProviderPtr service_provider;
mojo::URLRequestPtr request(mojo::URLRequest::New());
request->url = mojo::String::From("mojo:mus");
- shell_->ConnectToApplication(request.Pass(), GetProxy(&service_provider),
+ shell_->ConnectToApplication(std::move(request), GetProxy(&service_provider),
nullptr,
mojo::CreatePermissiveCapabilityFilter(),
base::Bind(&OnGotContentHandlerID));
« no previous file with comments | « ui/views/mus/input_method_mus.cc ('k') | ui/views/mus/window_manager_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698