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

Unified Diff: ash/mus/bridge/wm_shell_mus.cc

Issue 2411913003: Converts ash/wm/mru_window_tracker_unittest.cc to use AshTest (Closed)
Patch Set: comment Created 4 years, 2 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 | « ash/mus/BUILD.gn ('k') | ash/mus/bridge/wm_window_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/bridge/wm_shell_mus.cc
diff --git a/ash/mus/bridge/wm_shell_mus.cc b/ash/mus/bridge/wm_shell_mus.cc
index 8c948a1aa5f9f31622b5f15e60b0f3eda41c099f..ed26084c8623ccd0ba875dd5022d1926e602d772 100644
--- a/ash/mus/bridge/wm_shell_mus.cc
+++ b/ash/mus/bridge/wm_shell_mus.cc
@@ -453,7 +453,7 @@ void WmShellMus::OnWindowTreeFocusChanged(ui::Window* gained_focus,
if (gained_active)
set_root_window_for_new_windows(gained_active->GetRootWindow());
- WmWindow* lost_active = GetToplevelAncestor(gained_focus);
+ WmWindow* lost_active = GetToplevelAncestor(lost_focus);
if (gained_active == lost_active)
return;
« no previous file with comments | « ash/mus/BUILD.gn ('k') | ash/mus/bridge/wm_window_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698