Chromium Code Reviews| Index: ash/system/tray/system_tray.cc |
| diff --git a/ash/system/tray/system_tray.cc b/ash/system/tray/system_tray.cc |
| index 15679c3f2606b46f10593098a35c18a41d17c9bd..3cf5039677129ea2977b00e964b3c9a7d1c3c43e 100644 |
| --- a/ash/system/tray/system_tray.cc |
| +++ b/ash/system/tray/system_tray.cc |
| @@ -248,7 +248,8 @@ bool SystemTray::IsMouseInNotificationBubble() const { |
| if (!notification_bubble_.get()) |
| return false; |
| return notification_bubble_->bubble_view()->GetBoundsInScreen().Contains( |
| - gfx::Screen::GetCursorScreenPoint()); |
| + gfx::Screen::GetScreenFor( |
| + status_area_widget()->GetNativeView())->GetCursorScreenPoint()); |
|
oshima
2012/10/10 17:58:23
Any reason this isn't Shell::GetAshScreen() ?
scottmg
2012/10/10 19:04:47
Done.
|
| } |
| bool SystemTray::CloseBubbleForTest() const { |