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

Unified Diff: trunk/src/chrome/browser/ui/ash/multi_user_window_manager.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/chrome/browser/ui/ash/multi_user_window_manager.cc
===================================================================
--- trunk/src/chrome/browser/ui/ash/multi_user_window_manager.cc (revision 233812)
+++ trunk/src/chrome/browser/ui/ash/multi_user_window_manager.cc (working copy)
@@ -69,11 +69,11 @@
// anymore) and the root window should therefore still have the event which
// lead to the menu invocation, but it is not. By fixing that problem this
// would "magically work".
- aura::Window::Windows root_window_list = ash::Shell::GetAllRootWindows();
- for (aura::Window::Windows::iterator it = root_window_list.begin();
+ ash::Shell::RootWindowList root_window_list = ash::Shell::GetAllRootWindows();
+ for (ash::Shell::RootWindowList::iterator it = root_window_list.begin();
it != root_window_list.end();
++it) {
- if (IsUserEvent((*it)->GetDispatcher()->current_event()))
+ if (IsUserEvent((*it)->current_event()))
return true;
}
return false;

Powered by Google App Engine
This is Rietveld 408576698