| Index: ui/gfx/mac/coordinate_conversion.mm
|
| diff --git a/ui/gfx/mac/coordinate_conversion.mm b/ui/gfx/mac/coordinate_conversion.mm
|
| index 54b16e96053f4466ea9a90e6ef14221baf5ea184..b31ce9e1451b2d33a6f70f287d5fdf7d876eaff5 100644
|
| --- a/ui/gfx/mac/coordinate_conversion.mm
|
| +++ b/ui/gfx/mac/coordinate_conversion.mm
|
| @@ -16,7 +16,7 @@ namespace {
|
| // The height of the primary display, which OSX defines as the monitor with the
|
| // menubar. This is always at index 0.
|
| CGFloat PrimaryDisplayHeight() {
|
| - return NSMaxY([[[NSScreen screens] objectAtIndex:0] frame]);
|
| + return NSMaxY([[[NSScreen screens] firstObject] frame]);
|
| }
|
|
|
| } // namespace
|
|
|