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

Unified Diff: ui/message_center/cocoa/popup_controller.h

Issue 857463003: mac: Fix a dangling delegate bug with MCPopupController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments from avi, round two. Created 5 years, 11 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 | « ui/message_center/cocoa/popup_collection.mm ('k') | ui/message_center/cocoa/popup_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/cocoa/popup_controller.h
diff --git a/ui/message_center/cocoa/popup_controller.h b/ui/message_center/cocoa/popup_controller.h
index 47a052df97267acf3c47570622b8bfcab38fcf04..f8527823bcfbf619726fd519025cf13db16c8e83 100644
--- a/ui/message_center/cocoa/popup_controller.h
+++ b/ui/message_center/cocoa/popup_controller.h
@@ -46,6 +46,11 @@ MESSAGE_CENTER_EXPORT
// Is the popup currently being closed?
BOOL isClosing_;
+#ifndef NDEBUG
+ // Has the popup been closed before being dealloc-ed.
+ BOOL hasBeenClosed_;
+#endif
+
// The current bounds of the popup frame if no animation is playing.
// Otherwise, it is the target bounds of the popup frame.
NSRect bounds_;
« no previous file with comments | « ui/message_center/cocoa/popup_collection.mm ('k') | ui/message_center/cocoa/popup_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698