Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use firstObject instead of objectAtIndex:0 #8249

Merged
merged 1 commit into from
Dec 21, 2016
Merged

Conversation

kevinsawicki
Copy link
Contributor

Same approach as upstream Chrome uses since [NSScreens screens] can be empty at time.

https://codereview.chromium.org/1380083005

Closes #8064

@kevinsawicki kevinsawicki merged commit 026711e into master Dec 21, 2016
@kevinsawicki kevinsawicki deleted the nsscreens-crash branch December 21, 2016 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant