| Index: ui/message_center/message_center_impl.cc
|
| diff --git a/ui/message_center/message_center_impl.cc b/ui/message_center/message_center_impl.cc
|
| index 0db1a54ba98ca72634d8658c5f1c3bb5e281f31d..4e90822a60c39912172e7c3b82310b7d8c69c271 100644
|
| --- a/ui/message_center/message_center_impl.cc
|
| +++ b/ui/message_center/message_center_impl.cc
|
| @@ -656,8 +656,8 @@ void MessageCenterImpl::RemoveAllNotifications(bool by_user, RemoveType type) {
|
| bool remove_pinned = (type == RemoveType::ALL);
|
|
|
| const NotificationBlockers& blockers =
|
| - (type == RemoveType::ALL ? NotificationBlockers() /* empty blockers */
|
| - : blockers_ /* use default blockers */);
|
| + remove_pinned ? NotificationBlockers() /* empty blockers */
|
| + : blockers_; /* use default blockers */
|
|
|
| const NotificationList::Notifications notifications =
|
| notification_list_->GetVisibleNotifications(blockers);
|
|
|