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

Unified Diff: components/mus/ws/window_tree_impl.cc

Issue 1584053002: mus: Fix closing windows created after the first window. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/window_tree_impl.cc
diff --git a/components/mus/ws/window_tree_impl.cc b/components/mus/ws/window_tree_impl.cc
index 71532ce300ceef9cdd029eda2890a519ea2d336a..121c7ced2d32c3ad994ce76c4eb72483e054b8d9 100644
--- a/components/mus/ws/window_tree_impl.cc
+++ b/components/mus/ws/window_tree_impl.cc
@@ -1123,7 +1123,7 @@ void WindowTreeImpl::WmRequestClose(Id transport_window_id) {
WindowTreeImpl* connection =
connection_manager_->GetConnectionWithRoot(window);
if (connection && connection != host->GetWindowTree())
- connection->client_->RequestClose(MapWindowIdToClient(window));
+ connection->client_->RequestClose(connection->MapWindowIdToClient(window));
// TODO(sky): think about what else case means.
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698