| Index: chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm
|
| diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm
|
| index 9786b9bb468bd6a5b148f44e1efd76f29c5ca859..0620ce5a0af045a87e7b5a5e3725b514aaee45e9 100644
|
| --- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm
|
| +++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm
|
| @@ -114,7 +114,7 @@ void OmniboxPopupViewMac::UpdatePopupAppearance() {
|
|
|
| gfx::Rect OmniboxPopupViewMac::GetTargetBounds() {
|
| // Flip the coordinate system before returning.
|
| - NSScreen* screen = [[NSScreen screens] objectAtIndex:0];
|
| + NSScreen* screen = [[NSScreen screens] firstObject];
|
| NSRect monitor_frame = [screen frame];
|
| gfx::Rect bounds(NSRectToCGRect(target_popup_frame_));
|
| bounds.set_y(monitor_frame.size.height - bounds.y() - bounds.height());
|
|
|