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

Unified Diff: ui/message_center/views/message_list_view.cc

Issue 2826003002: Don't call AnimateClearingOneNotification if clearing all is already started. (Closed)
Patch Set: . Created 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/message_list_view.cc
diff --git a/ui/message_center/views/message_list_view.cc b/ui/message_center/views/message_list_view.cc
index 2551fab85d2a92830994aee3b0e5e6bf693a9000..bd731b70ee0047419d31b7e9bcce308a5658cc07 100644
--- a/ui/message_center/views/message_list_view.cc
+++ b/ui/message_center/views/message_list_view.cc
@@ -312,7 +312,8 @@ void MessageListView::DoUpdateIfPossible() {
}
if (!clearing_all_views_.empty()) {
- AnimateClearingOneNotification();
+ if (!clear_all_started_)
+ AnimateClearingOneNotification();
return;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698