Index: chrome/browser/ui/views/tabs/window_finder_x11.cc |
diff --git a/chrome/browser/ui/views/tabs/window_finder_x11.cc b/chrome/browser/ui/views/tabs/window_finder_x11.cc |
index 313f412b18ae89e3e5e4cc68dea74c552bc1344c..0fa61919b154bd336657090dd0e5d0d07e48cea1 100644 |
--- a/chrome/browser/ui/views/tabs/window_finder_x11.cc |
+++ b/chrome/browser/ui/views/tabs/window_finder_x11.cc |
@@ -20,21 +20,9 @@ gfx::Point DIPToPixelPoint(const gfx::Point& dip_point) { |
} // anonymous namespace |
-#if defined(USE_ASH) |
-gfx::NativeWindow GetLocalProcessWindowAtPointAsh( |
- const gfx::Point& screen_point, |
- const std::set<gfx::NativeWindow>& ignore); |
-#endif |
- |
gfx::NativeWindow GetLocalProcessWindowAtPoint( |
- chrome::HostDesktopType host_desktop_type, |
const gfx::Point& screen_point, |
const std::set<gfx::NativeWindow>& ignore) { |
-#if defined(USE_ASH) |
- if (host_desktop_type == chrome::HOST_DESKTOP_TYPE_ASH) |
- return GetLocalProcessWindowAtPointAsh(screen_point, ignore); |
-#endif |
- |
// The X11 server is the canonical state of what the window stacking order |
// is. |
views::X11TopmostWindowFinder finder; |