Index: chrome/browser/ui/views/exclusive_access_bubble_views.cc |
diff --git a/chrome/browser/ui/views/exclusive_access_bubble_views.cc b/chrome/browser/ui/views/exclusive_access_bubble_views.cc |
index 502849025c2369703cbfad0126685971602f632d..7b34b1ac00be9f803ee66432f8ea3de60bb8c418 100644 |
--- a/chrome/browser/ui/views/exclusive_access_bubble_views.cc |
+++ b/chrome/browser/ui/views/exclusive_access_bubble_views.cc |
@@ -612,10 +612,7 @@ gfx::Rect ExclusiveAccessBubbleViews::GetPopupRect( |
} |
gfx::Point ExclusiveAccessBubbleViews::GetCursorScreenPoint() { |
- gfx::Point cursor_pos = |
- gfx::Screen::GetScreenFor( |
- bubble_view_context_->GetBubbleAssociatedWidget()->GetNativeView()) |
- ->GetCursorScreenPoint(); |
+ gfx::Point cursor_pos = gfx::Screen::GetScreen()->GetCursorScreenPoint(); |
views::View::ConvertPointFromScreen(GetBrowserRootView(), &cursor_pos); |
return cursor_pos; |
} |