| Index: ui/message_center/views/notification_view.cc
|
| diff --git a/ui/message_center/views/notification_view.cc b/ui/message_center/views/notification_view.cc
|
| index c7bdce476419936b85bc8b8daeab80f58cf750ec..59a434b45990c6a6d4b2e8bb3ecea699f57b89ca 100644
|
| --- a/ui/message_center/views/notification_view.cc
|
| +++ b/ui/message_center/views/notification_view.cc
|
| @@ -349,7 +349,7 @@ void NotificationView::ButtonPressed(views::Button* sender,
|
| if (close_button_ && sender == close_button_.get()) {
|
| // Warning: This causes the NotificationView itself to be deleted, so don't
|
| // do anything afterwards.
|
| - controller()->RemoveNotification(id, true /* by_user */);
|
| + OnCloseButtonPressed();
|
| return;
|
| }
|
|
|
|
|