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 7f36deaad43979e7c33429c545e9007466d2794d..8648f11f506b3b022e44d33a820c66846ac6e02c 100644 |
--- a/chrome/browser/ui/views/status_bubble_views.cc |
+++ b/chrome/browser/ui/views/status_bubble_views.cc |
@@ -768,7 +768,7 @@ void StatusBubbleViews::AvoidMouse(const gfx::Point& location) { |
// download shelf. |
gfx::NativeView widget = base_view_->GetWidget()->GetNativeView(); |
gfx::Rect monitor_rect = |
- gfx::Screen::GetMonitorWorkAreaNearestWindow(widget); |
+ gfx::Screen::GetMonitorNearestWindow(widget).work_area(); |
const int bubble_bottom_y = top_left.y() + position_.y() + size_.height(); |
if (bubble_bottom_y + offset > monitor_rect.height() || |