Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1289)

Unified Diff: ash/system/web_notification/web_notification_tray.cc

Issue 14139014: Reposition toasts to align the closed one. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 ed479d3afd7354e471cf07467ece9084cd86ea90..9c2aa04ba0342e5c9be8af569c5c60793de9a6a4 100644
--- a/ash/system/web_notification/web_notification_tray.cc
+++ b/ash/system/web_notification/web_notification_tray.cc
@@ -199,8 +199,6 @@ bool WebNotificationTray::ShowPopups() {
void WebNotificationTray::UpdatePopups() {
if (popup_bubble())
popup_bubble()->bubble()->ScheduleUpdate();
- if (popup_collection_.get())
- popup_collection_->UpdatePopups();
};
void WebNotificationTray::HidePopups() {
@@ -305,8 +303,6 @@ void WebNotificationTray::AnchorUpdated() {
popup_bubble()->bubble_view()->GetWidget()->StackAtTop();
UpdateBubbleViewArrow(popup_bubble()->bubble_view());
}
- if (popup_collection_.get())
- popup_collection_->UpdatePopups();
if (message_center_bubble()) {
message_center_bubble()->bubble_view()->UpdateBubble();
UpdateBubbleViewArrow(message_center_bubble()->bubble_view());

Powered by Google App Engine
This is Rietveld 408576698