| Index: ui/message_center/message_center_bubble.cc
|
| diff --git a/ui/message_center/message_center_bubble.cc b/ui/message_center/message_center_bubble.cc
|
| index 8cf507ad610a2c78e77364a8c2d7264f1363f0ca..2ff553e5a8dfa7dbce96668a63e7540b63fe6324 100644
|
| --- a/ui/message_center/message_center_bubble.cc
|
| +++ b/ui/message_center/message_center_bubble.cc
|
| @@ -508,8 +508,8 @@ void MessageCenterBubble::OnBubbleViewDestroyed() {
|
| void MessageCenterBubble::UpdateBubbleView() {
|
| if (!bubble_view())
|
| return; // Could get called after view is closed
|
| - NotificationList::Notifications notifications;
|
| - list_delegate()->GetNotificationList()->GetNotifications(¬ifications);
|
| + const NotificationList::Notifications& notifications =
|
| + list_delegate()->GetNotificationList()->GetNotifications();
|
| contents_view_->Update(notifications);
|
| bubble_view()->Show();
|
| bubble_view()->UpdateBubble();
|
|
|