Index: ui/views/test/ui_controls_factory_desktop_aurax11.cc |
diff --git a/ui/views/test/ui_controls_factory_desktop_aurax11.cc b/ui/views/test/ui_controls_factory_desktop_aurax11.cc |
index 5fd0e1e38794a5ffceac5fee6559d2e9e247de81..6db2e4a4c63bb955080348268bea9899b7db495d 100644 |
--- a/ui/views/test/ui_controls_factory_desktop_aurax11.cc |
+++ b/ui/views/test/ui_controls_factory_desktop_aurax11.cc |
@@ -259,10 +259,10 @@ class UIControlsDesktopX11 : public UIControlsAura { |
// Most interactive_ui_tests run inside of the aura_test_helper |
// environment. This means that we can't rely on gfx::Screen and several |
// other things to work properly. Therefore we hack around this by |
- // iterating across the windows owned DesktopRootWindowHostX11 since this |
+ // iterating across the windows owned DesktopWindowTreeHostX11 since this |
// doesn't rely on having a DesktopScreenX11. |
std::vector<aura::Window*> windows = |
- DesktopRootWindowHostX11::GetAllOpenWindows(); |
+ DesktopWindowTreeHostX11::GetAllOpenWindows(); |
for (std::vector<aura::Window*>::const_iterator it = windows.begin(); |
it != windows.end(); ++it) { |
if ((*it)->GetBoundsInScreen().Contains(point)) { |