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

Unified Diff: ui/message_center/message_center_tray.cc

Issue 99543003: Fix popup crash on ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + WS nit. Created 7 years 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: ui/message_center/message_center_tray.cc
diff --git a/ui/message_center/message_center_tray.cc b/ui/message_center/message_center_tray.cc
index 9a5ea56dfb55ab27d75c899d8ab6cab4e02e3f5c..f5bf22e3cae4686cfb61cd6fa75170333ab8aec0 100644
--- a/ui/message_center/message_center_tray.cc
+++ b/ui/message_center/message_center_tray.cc
@@ -102,11 +102,8 @@ void MessageCenterTray::HidePopupBubbleInternal() {
if (!popups_visible_)
return;
- // This is called before HidePopups so that we don't double-call this when we
- // see the results of HidePopups via MessageCenterObserver.
- popups_visible_ = false;
-
delegate_->HidePopups();
+ popups_visible_ = false;
}
void MessageCenterTray::ShowNotifierSettingsBubble() {
« no previous file with comments | « chrome/browser/ui/views/message_center/web_notification_tray.cc ('k') | ui/message_center/views/message_popup_collection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698