Index: chrome/browser/ui/autofill/popup_controller_common.cc |
diff --git a/chrome/browser/ui/autofill/popup_controller_common.cc b/chrome/browser/ui/autofill/popup_controller_common.cc |
index 0bf73db64841bdf98b998e4565830b478051f5e1..7e6211c78c99ddca9ce187c4f0364f39d93021e7 100644 |
--- a/chrome/browser/ui/autofill/popup_controller_common.cc |
+++ b/chrome/browser/ui/autofill/popup_controller_common.cc |
@@ -55,8 +55,7 @@ void PopupControllerCommon::RemoveKeyPressCallback() { |
gfx::Display PopupControllerCommon::GetDisplayNearestPoint( |
const gfx::Point& point) const { |
- return gfx::Screen::GetScreenFor(container_view_)->GetDisplayNearestPoint( |
- point); |
+ return gfx::Screen::GetScreen()->GetDisplayNearestPoint(point); |
} |
const gfx::Rect PopupControllerCommon::RoundedElementBounds() const { |