| Index: ash/system/web_notification/web_notification_tray.cc
|
| diff --git a/ash/system/web_notification/web_notification_tray.cc b/ash/system/web_notification/web_notification_tray.cc
|
| index 52504eda4038fdd0656dde03ea3c0df3faf7e57f..ed35187545c7f10e27a1a7f6541b0dac44bb416b 100644
|
| --- a/ash/system/web_notification/web_notification_tray.cc
|
| +++ b/ash/system/web_notification/web_notification_tray.cc
|
| @@ -155,9 +155,9 @@ class WebNotificationButton : public views::CustomButton {
|
|
|
| private:
|
| void UpdateIconVisibility() {
|
| - unread_label_->SetEnabledColor(
|
| - (!is_bubble_visible_ && unread_count_ > 0) ?
|
| - kWebNotificationColorWithUnread : kWebNotificationColorNoUnread);
|
| + unread_label_->SetEnabledColor((unread_count_ > 0)
|
| + ? kWebNotificationColorWithUnread
|
| + : kWebNotificationColorNoUnread);
|
| SchedulePaint();
|
| }
|
|
|
| @@ -454,7 +454,7 @@ void WebNotificationTray::UpdateTrayContent() {
|
|
|
| SetVisible((status_area_widget()->login_status() != user::LOGGED_IN_NONE) &&
|
| (status_area_widget()->login_status() != user::LOGGED_IN_LOCKED) &&
|
| - !userAddingRunning && (message_center->NotificationCount() > 0));
|
| + !userAddingRunning);
|
| Layout();
|
| SchedulePaint();
|
| }
|
|
|