summaryrefslogtreecommitdiffstats
path: root/ash/wm/window_positioner.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/wm/window_positioner.cc')
-rw-r--r--ash/wm/window_positioner.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/ash/wm/window_positioner.cc b/ash/wm/window_positioner.cc
index 880abd1..4e80ed8 100644
--- a/ash/wm/window_positioner.cc
+++ b/ash/wm/window_positioner.cc
@@ -191,8 +191,8 @@ aura::Window* GetReferenceWindow(const aura::Window* root_window,
active = NULL;
// Get a list of all windows.
- const std::vector<aura::Window*> windows =
- ash::MruWindowTracker::BuildWindowList();
+ const std::vector<aura::Window*> windows = ash::Shell::GetInstance()->
+ mru_window_tracker()->BuildWindowListIgnoreModal();
if (windows.empty())
return NULL;
@@ -503,8 +503,8 @@ gfx::Rect WindowPositioner::SmartPopupPosition(
const gfx::Rect& old_pos,
const gfx::Rect& work_area,
int grid) {
- const std::vector<aura::Window*> windows =
- MruWindowTracker::BuildWindowList();
+ const std::vector<aura::Window*> windows = ash::Shell::GetInstance()->
+ mru_window_tracker()->BuildWindowListIgnoreModal();
std::vector<const gfx::Rect*> regions;
// Process the window list and check if we can bail immediately.