| Index: ui/message_center/cocoa/popup_collection.mm
|
| diff --git a/ui/message_center/cocoa/popup_collection.mm b/ui/message_center/cocoa/popup_collection.mm
|
| index 5961e61409b7eb244259e8a598784dd0ecc815f2..05a6bdde3f9a0c949e08968d0dfa931eb9082fb3 100644
|
| --- a/ui/message_center/cocoa/popup_collection.mm
|
| +++ b/ui/message_center/cocoa/popup_collection.mm
|
| @@ -150,7 +150,7 @@ class PopupCollectionObserver : public message_center::MessageCenterObserver {
|
| - (NSRect)screenFrame {
|
| if (!NSIsEmptyRect(testingScreenFrame_))
|
| return testingScreenFrame_;
|
| - return [[[NSScreen screens] objectAtIndex:0] visibleFrame];
|
| + return [[[NSScreen screens] firstObject] visibleFrame];
|
| }
|
|
|
| - (BOOL)addNotification:(const message_center::Notification*)notification {
|
|
|