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

Unified Diff: chrome/browser/ui/ash/ash_util.cc

Issue 64933002: Eliminate Shell::RootWindowList in favor of aura::Window::Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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: chrome/browser/ui/ash/ash_util.cc
diff --git a/chrome/browser/ui/ash/ash_util.cc b/chrome/browser/ui/ash/ash_util.cc
index f6d6ce2e8c4966d27ef9850a6dbf34361d34e7a7..8d51b019d1d984cb023b97db8df534436689a47b 100644
--- a/chrome/browser/ui/ash/ash_util.cc
+++ b/chrome/browser/ui/ash/ash_util.cc
@@ -20,10 +20,10 @@ bool IsNativeViewInAsh(gfx::NativeView native_view) {
if (!ash::Shell::HasInstance())
return false;
- ash::Shell::RootWindowList root_windows =
+ aura::Window::Windows root_windows =
ash::Shell::GetInstance()->GetAllRootWindows();
- for (ash::Shell::RootWindowList::const_iterator it = root_windows.begin();
+ for (aura::Window::Windows::const_iterator it = root_windows.begin();
it != root_windows.end(); ++it) {
if ((*it)->Contains(native_view))
return true;

Powered by Google App Engine
This is Rietveld 408576698