| 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 7263f8f3b544b728d4d3561d7f22d39638597215..75c2fe020546e28444a719cf1173abf3dfbf392a 100644
|
| --- a/chrome/browser/ui/views/fullscreen_exit_bubble_views.cc
|
| +++ b/chrome/browser/ui/views/fullscreen_exit_bubble_views.cc
|
| @@ -340,8 +340,8 @@ gfx::Rect FullscreenExitBubbleViews::GetPopupRect(
|
| gfx::Size size(view_->GetPreferredSize());
|
| // NOTE: don't use the bounds of the root_view_. On linux changing window
|
| // size is async. Instead we use the size of the screen.
|
| - gfx::Rect screen_bounds = gfx::Screen::GetMonitorAreaNearestWindow(
|
| - root_view_->GetWidget()->GetNativeView());
|
| + gfx::Rect screen_bounds = gfx::Screen::GetMonitorNearestWindow(
|
| + root_view_->GetWidget()->GetNativeView()).bounds();
|
| gfx::Point origin(screen_bounds.x() +
|
| (screen_bounds.width() - size.width()) / 2,
|
| kPopupTopPx + screen_bounds.y());
|
|
|