Index: chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc |
=================================================================== |
--- chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc (revision 75617) |
+++ chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc (working copy) |
@@ -459,9 +459,13 @@ |
// Called when the menu stops showing. |
void BalloonViewImpl::StoppedShowing() { |
- if (pending_close_) |
- DelayedClose(false); |
menu_showing_ = false; |
+ if (pending_close_) { |
+ MessageLoop::current()->PostTask( |
+ FROM_HERE, |
+ method_factory_.NewRunnableMethod( |
+ &BalloonViewImpl::DelayedClose, false)); |
+ } |
Andrew T Wilson (Slow)
2011/02/23 00:43:58
So, is the intent that DelayedClose() should never
|
} |
gboolean BalloonViewImpl::OnDestroy(GtkWidget* widget) { |