| Index: chrome/browser/ui/views/status_bubble_views.cc
|
| diff --git a/chrome/browser/ui/views/status_bubble_views.cc b/chrome/browser/ui/views/status_bubble_views.cc
|
| index ef57b7535e3768439dbb70f80331c5e73d54f360..e2b21bd82bed9934fee28ac7f62c701ab3796094 100644
|
| --- a/chrome/browser/ui/views/status_bubble_views.cc
|
| +++ b/chrome/browser/ui/views/status_bubble_views.cc
|
| @@ -804,8 +804,8 @@ void StatusBubbleViews::AvoidMouse(const gfx::Point& location) {
|
| // Check if the bubble sticks out from the monitor or will obscure
|
| // download shelf.
|
| gfx::NativeView window = base_view_->GetWidget()->GetNativeView();
|
| - gfx::Rect monitor_rect = gfx::Screen::GetScreenFor(window)->
|
| - GetDisplayNearestWindow(window).work_area();
|
| + gfx::Rect monitor_rect =
|
| + gfx::Screen::GetScreen()->GetDisplayNearestWindow(window).work_area();
|
| const int bubble_bottom_y = top_left.y() + position_.y() + size_.height();
|
|
|
| if (bubble_bottom_y + offset > monitor_rect.height() ||
|
|
|