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 736d84892154bca547b5d996749897ae358aa4d8..32ac37196390613b7a1a2f4a11a9d7b2201f816e 100644 |
--- a/chrome/browser/ui/aura/active_desktop_monitor.cc |
+++ b/chrome/browser/ui/aura/active_desktop_monitor.cc |
@@ -39,14 +39,14 @@ chrome::HostDesktopType ActiveDesktopMonitor::GetLastActivatedDesktopType() { |
// static |
bool ActiveDesktopMonitor::IsDesktopWindow(aura::RootWindow* root_window) { |
- // Only windows hosted by a DesktopRootWindowHost implementation can be mapped |
+ // Only windows hosted by a DesktopWindowTreeHost 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::DesktopRootWindowHostWin::GetContentWindowForHWND( |
+ return views::DesktopWindowTreeHostWin::GetContentWindowForHWND( |
root_window->host()->GetAcceleratedWidget()) != NULL; |
#elif defined(USE_X11) |
- return views::DesktopRootWindowHostX11::GetContentWindowForXID( |
+ return views::DesktopWindowTreeHostX11::GetContentWindowForXID( |
root_window->host()->GetAcceleratedWidget()) != NULL; |
#else |
NOTREACHED(); |