Index: ash/wm/focus_rules.cc |
diff --git a/ash/wm/focus_rules.cc b/ash/wm/focus_rules.cc |
index 519bc0b61c2d05296250f117f27cee4a05a73d9f..b1ca005377ded3d6b17c0961ef0e83dc45599118 100644 |
--- a/ash/wm/focus_rules.cc |
+++ b/ash/wm/focus_rules.cc |
@@ -8,7 +8,6 @@ |
#include "ash/shell.h" |
#include "ash/shell_delegate.h" |
#include "ash/wm/window_state.h" |
-#include "ash/wm_window.h" |
#include "ui/aura/window.h" |
namespace ash { |
@@ -38,8 +37,7 @@ bool IsWindowConsideredVisibleForActivation(aura::Window* window) { |
DCHECK(window); |
// If the |window| doesn't belong to the current active user and also doesn't |
// show for the current active user, then it should not be activated. |
- if (!Shell::Get()->shell_delegate()->CanShowWindowForUser( |
- WmWindow::Get(window))) |
+ if (!Shell::Get()->shell_delegate()->CanShowWindowForUser(window)) |
return false; |
if (window->IsVisible()) |