Index: trunk/src/chrome/browser/ui/aura/active_desktop_monitor.cc |
=================================================================== |
--- trunk/src/chrome/browser/ui/aura/active_desktop_monitor.cc (revision 236090) |
+++ trunk/src/chrome/browser/ui/aura/active_desktop_monitor.cc (working copy) |
@@ -39,14 +39,14 @@ |
// static |
bool ActiveDesktopMonitor::IsDesktopWindow(aura::RootWindow* root_window) { |
- // Only windows hosted by a DesktopWindowTreeHost implementation can be mapped |
+ // Only windows hosted by a DesktopRootWindowHost implementation can be mapped |
// back to a content Window. All others, therefore, must be the root window |
// for an Ash display. |
#if defined(OS_WIN) |
- return views::DesktopWindowTreeHostWin::GetContentWindowForHWND( |
+ return views::DesktopRootWindowHostWin::GetContentWindowForHWND( |
root_window->host()->GetAcceleratedWidget()) != NULL; |
#elif defined(USE_X11) |
- return views::DesktopWindowTreeHostX11::GetContentWindowForXID( |
+ return views::DesktopRootWindowHostX11::GetContentWindowForXID( |
root_window->host()->GetAcceleratedWidget()) != NULL; |
#else |
NOTREACHED(); |