Index: ui/aura/test/test_screen.cc |
diff --git a/ui/aura/test/test_screen.cc b/ui/aura/test/test_screen.cc |
index 298c7d806e76976235170a763f5035566260f290..f87c4084fcc7c6da994426871c92ee92fbf39f52 100644 |
--- a/ui/aura/test/test_screen.cc |
+++ b/ui/aura/test/test_screen.cc |
@@ -126,8 +126,8 @@ gfx::Point TestScreen::GetCursorScreenPoint() { |
return Env::GetInstance()->last_mouse_location(); |
} |
-gfx::NativeWindow TestScreen::GetWindowUnderCursor() { |
- return GetWindowAtScreenPoint(GetCursorScreenPoint()); |
+bool TestScreen::IsWindowUnderCursor(gfx::NativeWindow window) { |
+ return GetWindowAtScreenPoint(GetCursorScreenPoint()) == window; |
} |
gfx::NativeWindow TestScreen::GetWindowAtScreenPoint(const gfx::Point& point) { |