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

Unified Diff: ui/aura/mus/window_tree_client.cc

Issue 2589663003: mojo:: Rename mojo::GetProxy() to mojo::MakeRequest() (Closed)
Patch Set: Rebase Created 4 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/aura/mus/window_compositor_frame_sink.cc ('k') | ui/views/mus/input_method_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/window_tree_client.cc
diff --git a/ui/aura/mus/window_tree_client.cc b/ui/aura/mus/window_tree_client.cc
index 10a25a3a5f241c711602d5fb4d7c58674d261782..4aa192b4a4d3051afe7cf76082664ccdde6266ef 100644
--- a/ui/aura/mus/window_tree_client.cc
+++ b/ui/aura/mus/window_tree_client.cc
@@ -209,7 +209,7 @@ void WindowTreeClient::ConnectViaWindowTreeFactory() {
ui::mojom::WindowTreeFactoryPtr factory;
connector_->ConnectToInterface(ui::mojom::kServiceName, &factory);
ui::mojom::WindowTreePtr window_tree;
- factory->CreateWindowTree(GetProxy(&window_tree),
+ factory->CreateWindowTree(MakeRequest(&window_tree),
binding_.CreateInterfacePtrAndBind());
SetWindowTree(std::move(window_tree));
}
@@ -220,7 +220,7 @@ void WindowTreeClient::ConnectAsWindowManager() {
ui::mojom::WindowManagerWindowTreeFactoryPtr factory;
connector_->ConnectToInterface(ui::mojom::kServiceName, &factory);
ui::mojom::WindowTreePtr window_tree;
- factory->CreateWindowTree(GetProxy(&window_tree),
+ factory->CreateWindowTree(MakeRequest(&window_tree),
binding_.CreateInterfacePtrAndBind());
SetWindowTree(std::move(window_tree));
}
@@ -445,8 +445,8 @@ void WindowTreeClient::SetWindowTree(ui::mojom::WindowTreePtr window_tree_ptr) {
&WindowTreeClient::OnConnectionLost, weak_factory_.GetWeakPtr()));
if (window_manager_delegate_) {
- tree_ptr_->GetWindowManagerClient(GetProxy(&window_manager_internal_client_,
- tree_ptr_.associated_group()));
+ tree_ptr_->GetWindowManagerClient(MakeRequest(
+ &window_manager_internal_client_, tree_ptr_.associated_group()));
}
}
@@ -843,8 +843,8 @@ void WindowTreeClient::OnEmbed(ClientSpecificId client_id,
is_from_embed_ = true;
if (window_manager_delegate_) {
- tree_ptr_->GetWindowManagerClient(GetProxy(&window_manager_internal_client_,
- tree_ptr_.associated_group()));
+ tree_ptr_->GetWindowManagerClient(MakeRequest(
+ &window_manager_internal_client_, tree_ptr_.associated_group()));
}
OnEmbedImpl(tree_ptr_.get(), client_id, std::move(root_data), display_id,
« no previous file with comments | « ui/aura/mus/window_compositor_frame_sink.cc ('k') | ui/views/mus/input_method_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698