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

Unified Diff: trunk/src/ash/wm/drag_window_resizer.cc

Issue 59153004: Revert 233787 "Eliminate Shell::RootWindowList in favor of aura:..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month 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: trunk/src/ash/wm/drag_window_resizer.cc
===================================================================
--- trunk/src/ash/wm/drag_window_resizer.cc (revision 233812)
+++ trunk/src/ash/wm/drag_window_resizer.cc (working copy)
@@ -41,8 +41,8 @@
// When there are two root windows, returns one of the root windows which is not
// |root_window|. Returns NULL if only one root window exists.
-aura::Window* GetAnotherRootWindow(aura::Window* root_window) {
- aura::Window::Windows root_windows = Shell::GetAllRootWindows();
+aura::RootWindow* GetAnotherRootWindow(aura::Window* root_window) {
+ Shell::RootWindowList root_windows = Shell::GetAllRootWindows();
if (root_windows.size() < 2)
return NULL;
DCHECK_EQ(2U, root_windows.size());
« no previous file with comments | « trunk/src/ash/wm/dock/docked_window_resizer_unittest.cc ('k') | trunk/src/ash/wm/drag_window_resizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698