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

Unified Diff: chrome/browser/ui/aura/active_desktop_monitor.cc

Issue 72503002: Remove some pass-thrus on RootWindow API in favor of exposing the RootWindowHost again. (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
« no previous file with comments | « chrome/browser/ui/ash/ash_init.cc ('k') | chrome/browser/ui/aura/tabs/dock_info_auralinux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/aura/active_desktop_monitor.cc
diff --git a/chrome/browser/ui/aura/active_desktop_monitor.cc b/chrome/browser/ui/aura/active_desktop_monitor.cc
index 411aa3e1f921f98e40432706bef765251b507a72..736d84892154bca547b5d996749897ae358aa4d8 100644
--- a/chrome/browser/ui/aura/active_desktop_monitor.cc
+++ b/chrome/browser/ui/aura/active_desktop_monitor.cc
@@ -44,10 +44,10 @@ bool ActiveDesktopMonitor::IsDesktopWindow(aura::RootWindow* root_window) {
// for an Ash display.
#if defined(OS_WIN)
return views::DesktopRootWindowHostWin::GetContentWindowForHWND(
- root_window->GetAcceleratedWidget()) != NULL;
+ root_window->host()->GetAcceleratedWidget()) != NULL;
#elif defined(USE_X11)
return views::DesktopRootWindowHostX11::GetContentWindowForXID(
- root_window->GetAcceleratedWidget()) != NULL;
+ root_window->host()->GetAcceleratedWidget()) != NULL;
#else
NOTREACHED();
return true;
« no previous file with comments | « chrome/browser/ui/ash/ash_init.cc ('k') | chrome/browser/ui/aura/tabs/dock_info_auralinux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698