| Index: chrome/browser/ui/cocoa/autofill/autofill_popup_base_view_cocoa.mm
|
| diff --git a/chrome/browser/ui/cocoa/autofill/autofill_popup_base_view_cocoa.mm b/chrome/browser/ui/cocoa/autofill/autofill_popup_base_view_cocoa.mm
|
| index 8d54aac97e9d1dec35cb14f885ed219b160c824a..73e2f32a3a9fabebe0fe8d00427133f376489d65 100644
|
| --- a/chrome/browser/ui/cocoa/autofill/autofill_popup_base_view_cocoa.mm
|
| +++ b/chrome/browser/ui/cocoa/autofill/autofill_popup_base_view_cocoa.mm
|
| @@ -139,7 +139,7 @@
|
| // coordinate space places the origin at the top-left of the first screen,
|
| // whereas Cocoa's coordinate space expects the origin to be at the
|
| // bottom-left of this same screen.
|
| - NSScreen* screen = [[NSScreen screens] objectAtIndex:0];
|
| + NSScreen* screen = [[NSScreen screens] firstObject];
|
| frame.origin.y = NSMaxY([screen frame]) - NSMaxY(frame);
|
|
|
| // TODO(isherman): The view should support scrolling if the popup gets too
|
|
|