| Index: content/browser/renderer_host/input/web_input_event_builders_mac.mm
|
| diff --git a/content/browser/renderer_host/input/web_input_event_builders_mac.mm b/content/browser/renderer_host/input/web_input_event_builders_mac.mm
|
| index 00d34f875417545f5c7300265ea4ab6003dd67a5..1e116e84b939c24efb5f248caebe1e6f07c4f72f 100644
|
| --- a/content/browser/renderer_host/input/web_input_event_builders_mac.mm
|
| +++ b/content/browser/renderer_host/input/web_input_event_builders_mac.mm
|
| @@ -502,7 +502,7 @@ void SetWebEventLocationFromEventInView(blink::WebMouseEvent* result,
|
| result->globalX = screen_local.x;
|
| // Flip y.
|
| NSScreen* primary_screen = ([[NSScreen screens] count] > 0)
|
| - ? [[NSScreen screens] objectAtIndex:0]
|
| + ? [[NSScreen screens] firstObject]
|
| : nil;
|
| if (primary_screen)
|
| result->globalY = [primary_screen frame].size.height - screen_local.y;
|
|
|