Index: chrome/browser/ui/gtk/web_intent_picker_gtk.cc |
diff --git a/chrome/browser/ui/gtk/web_intent_picker_gtk.cc b/chrome/browser/ui/gtk/web_intent_picker_gtk.cc |
index d46250190c327f15a518f90536ca2e6518df3b73..d413ea0ad390316a06ec1933ed1f7e1d5f657c92 100644 |
--- a/chrome/browser/ui/gtk/web_intent_picker_gtk.cc |
+++ b/chrome/browser/ui/gtk/web_intent_picker_gtk.cc |
@@ -165,10 +165,8 @@ void WebIntentPickerGtk::SetDefaultServiceIcon(size_t index) { |
void WebIntentPickerGtk::Close() { |
bubble_->Close(); |
bubble_ = NULL; |
- |
- inline_disposition_tab_contents_.reset(); |
- inline_disposition_delegate_.reset(); |
- tab_contents_container_.reset(); |
+ if (inline_disposition_tab_contents_.get() != NULL) |
James Hawkins
2011/11/10 00:57:28
if (inline_...contents_.get()) suffices.
Greg Billock
2011/11/10 20:00:43
Done.
|
+ inline_disposition_tab_contents_->tab_contents()->OnCloseStarted(); |
} |
void WebIntentPickerGtk::BubbleClosing(BubbleGtk* bubble, |