Index: chrome/browser/ui/views/fullscreen_exit_bubble_views.cc |
diff --git a/chrome/browser/ui/views/fullscreen_exit_bubble_views.cc b/chrome/browser/ui/views/fullscreen_exit_bubble_views.cc |
index 760c2de398ddf30763e4aedbe9cbb916ed919724..addaf3dfb54121e91524cb05914d3d17d2b04554 100644 |
--- a/chrome/browser/ui/views/fullscreen_exit_bubble_views.cc |
+++ b/chrome/browser/ui/views/fullscreen_exit_bubble_views.cc |
@@ -357,7 +357,8 @@ gfx::Rect FullscreenExitBubbleViews::GetPopupRect( |
} |
gfx::Point FullscreenExitBubbleViews::GetCursorScreenPoint() { |
- gfx::Point cursor_pos = gfx::Screen::GetCursorScreenPoint(); |
+ gfx::Point cursor_pos = gfx::Screen::GetCursorScreenPoint( |
+ gfx::Screen::BadTwoWorldsContext()); |
oshima
2012/10/04 20:18:26
root_view_->GetWidget()->GetNativeView()?
|
views::View::ConvertPointToTarget(NULL, root_view_, &cursor_pos); |
return cursor_pos; |
} |