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

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

Issue 2696233002: Mojo C++ bindings: remove some usage of AssociatedGroup from user code. (Closed)
Patch Set: . Created 3 years, 10 months 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 | « services/ui/ws/window_tree_client_unittest.cc ('k') | no next file » | 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 6c69d568456c81b617a75fa75efbd4d85189ffe3..9b2079e04c3f9815082525dd3e330329c8c5f627 100644
--- a/ui/aura/mus/window_tree_client.cc
+++ b/ui/aura/mus/window_tree_client.cc
@@ -468,8 +468,8 @@ void WindowTreeClient::SetWindowTree(ui::mojom::WindowTreePtr window_tree_ptr) {
&WindowTreeClient::OnConnectionLost, weak_factory_.GetWeakPtr()));
if (window_manager_delegate_) {
- tree_ptr_->GetWindowManagerClient(MakeRequest(
- &window_manager_internal_client_, tree_ptr_.associated_group()));
+ tree_ptr_->GetWindowManagerClient(
+ MakeRequest(&window_manager_internal_client_));
}
}
@@ -857,8 +857,8 @@ void WindowTreeClient::OnEmbed(ClientSpecificId client_id,
is_from_embed_ = true;
if (window_manager_delegate_) {
- tree_ptr_->GetWindowManagerClient(MakeRequest(
- &window_manager_internal_client_, tree_ptr_.associated_group()));
+ tree_ptr_->GetWindowManagerClient(
+ MakeRequest(&window_manager_internal_client_));
}
OnEmbedImpl(tree_ptr_.get(), client_id, std::move(root_data), display_id,
« no previous file with comments | « services/ui/ws/window_tree_client_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698