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

Unified Diff: ash/wm/window_positioner.cc

Issue 786513003: Cleaning up MruWindowTracker::BuildWindowList() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
Index: ash/wm/window_positioner.cc
diff --git a/ash/wm/window_positioner.cc b/ash/wm/window_positioner.cc
index 73b7d09a08c96c1bd537c13932cf732b01c47015..880abd10297ef10db9a8fa64a406c750212450e0 100644
--- a/ash/wm/window_positioner.cc
+++ b/ash/wm/window_positioner.cc
@@ -192,7 +192,7 @@ aura::Window* GetReferenceWindow(const aura::Window* root_window,
// Get a list of all windows.
const std::vector<aura::Window*> windows =
- ash::MruWindowTracker::BuildWindowList(false);
+ ash::MruWindowTracker::BuildWindowList();
if (windows.empty())
return NULL;
@@ -504,7 +504,7 @@ gfx::Rect WindowPositioner::SmartPopupPosition(
const gfx::Rect& work_area,
int grid) {
const std::vector<aura::Window*> windows =
oshima 2014/12/06 00:26:03 does this fit single line?
afakhry 2014/12/06 00:30:40 It doesn't ... the semicolon will exceed the bound
- MruWindowTracker::BuildWindowList(false);
+ MruWindowTracker::BuildWindowList();
std::vector<const gfx::Rect*> regions;
// Process the window list and check if we can bail immediately.

Powered by Google App Engine
This is Rietveld 408576698