Index: chrome/browser/ui/views/tabs/window_finder_win.cc |
diff --git a/chrome/browser/ui/views/tabs/window_finder_win.cc b/chrome/browser/ui/views/tabs/window_finder_win.cc |
index 29517efe5c6d51f558de69b64659be2c6a6023c2..da78d7fae50ce88687cbbadcf17c944f001853ba 100644 |
--- a/chrome/browser/ui/views/tabs/window_finder_win.cc |
+++ b/chrome/browser/ui/views/tabs/window_finder_win.cc |
@@ -9,6 +9,7 @@ |
#include "base/macros.h" |
#include "base/win/scoped_gdi_object.h" |
#include "base/win/windows_version.h" |
+#include "chrome/browser/ui/views/tabs/window_finder_mus.h" |
#include "ui/aura/window.h" |
#include "ui/display/win/screen_win.h" |
#include "ui/views/widget/desktop_aura/desktop_window_tree_host_win.h" |
@@ -235,6 +236,10 @@ std::set<HWND> RemapIgnoreSet(const std::set<gfx::NativeView>& ignore) { |
gfx::NativeWindow WindowFinder::GetLocalProcessWindowAtPoint( |
const gfx::Point& screen_point, |
const std::set<gfx::NativeWindow>& ignore) { |
+ gfx::NativeWindow out; |
+ if (GetLocalProcessWindowAtPointMus(screen_point, ignore, &out)) |
+ return out; |
+ |
return LocalProcessWindowFinder::GetProcessWindowAtPoint( |
screen_point, RemapIgnoreSet(ignore)); |
} |