| Index: chrome/browser/ui/autofill/popup_view_common.cc
|
| diff --git a/chrome/browser/ui/autofill/popup_view_common.cc b/chrome/browser/ui/autofill/popup_view_common.cc
|
| index 9169ae070bc664e0af7b3d06b8d19a6ab6c2f656..a342aac367a8e4225dc5f25296f4e4167c59af78 100644
|
| --- a/chrome/browser/ui/autofill/popup_view_common.cc
|
| +++ b/chrome/browser/ui/autofill/popup_view_common.cc
|
| @@ -128,8 +128,7 @@ gfx::Rect PopupViewCommon::CalculatePopupBounds(int desired_width,
|
| gfx::Display PopupViewCommon::GetDisplayNearestPoint(
|
| const gfx::Point& point,
|
| gfx::NativeView container_view) {
|
| - return gfx::Screen::GetScreenFor(container_view)
|
| - ->GetDisplayNearestPoint(point);
|
| + return gfx::Screen::GetScreen()->GetDisplayNearestPoint(point);
|
| }
|
|
|
| } // namespace autofill
|
|
|