Index: ui/views/view.cc |
diff --git a/ui/views/view.cc b/ui/views/view.cc |
index 45467ab23dbfc0fdbf68fdd9ad1ef9532bd20e64..9ee7272bd04f4fbaa7078350e6eeb8462b484462 100644 |
--- a/ui/views/view.cc |
+++ b/ui/views/view.cc |
@@ -946,8 +946,7 @@ bool View::IsMouseHovered() const { |
if (!GetWidget()->IsMouseEventsEnabled()) |
return false; |
- gfx::Point cursor_pos(gfx::Screen::GetScreenFor( |
- GetWidget()->GetNativeView())->GetCursorScreenPoint()); |
+ gfx::Point cursor_pos(gfx::Screen::GetScreen()->GetCursorScreenPoint()); |
ConvertPointFromScreen(this, &cursor_pos); |
return HitTestPoint(cursor_pos); |
} |