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

Unified Diff: ui/aura/test/mus/window_tree_client_private.cc

Issue 2468493002: Fix bug in keeping capture in sync during destruction (Closed)
Patch Set: feedback Created 4 years, 1 month 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_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/test/mus/window_tree_client_private.cc
diff --git a/ui/aura/test/mus/window_tree_client_private.cc b/ui/aura/test/mus/window_tree_client_private.cc
index 666ae69b6102194524dd36a6b516f8045fc70266..d3c8a0f92f1c255322dedf4c8cb667a77e45a397 100644
--- a/ui/aura/test/mus/window_tree_client_private.cc
+++ b/ui/aura/test/mus/window_tree_client_private.cc
@@ -66,7 +66,7 @@ void WindowTreeClientPrivate::CallOnCaptureChanged(Window* new_capture,
void WindowTreeClientPrivate::SetTreeAndClientId(
ui::mojom::WindowTree* window_tree,
ClientSpecificId client_id) {
- tree_client_impl_->tree_ = window_tree;
+ tree_client_impl_->WindowTreeConnectionEstablished(window_tree);
tree_client_impl_->client_id_ = client_id;
}
« no previous file with comments | « ui/aura/mus/window_tree_client_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698