Index: chrome/browser/ui/views/link_disambiguation/link_disambiguation_popup.cc |
diff --git a/chrome/browser/ui/views/link_disambiguation/link_disambiguation_popup.cc b/chrome/browser/ui/views/link_disambiguation/link_disambiguation_popup.cc |
index 50104f9f2247ecf2bdf1ad2b6216135923dbc88b..ba8b98f00895745678c6360ebcba99e3b6e07908 100644 |
--- a/chrome/browser/ui/views/link_disambiguation/link_disambiguation_popup.cc |
+++ b/chrome/browser/ui/views/link_disambiguation/link_disambiguation_popup.cc |
@@ -185,7 +185,7 @@ void LinkDisambiguationPopup::Show( |
zoomed_bitmap.width(), |
zoomed_bitmap.height()); |
const gfx::Display display = |
- gfx::Screen::GetScreenFor(content)->GetDisplayNearestWindow(content); |
+ gfx::Screen::GetScreen()->GetDisplayNearestWindow(content); |
window_bounds.AdjustToFit(display.work_area()); |
view_->GetWidget()->SetBounds(window_bounds); |
view_->GetWidget()->Show(); |