| Index: chrome/browser/ui/gtk/collected_cookies_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/collected_cookies_gtk.cc b/chrome/browser/ui/gtk/collected_cookies_gtk.cc
|
| index e73a8a2d549eddaa64312ffa4a5ba3660730e52b..cb9e5e1fc62cb7b5e84e5c102be92d08fd76b0f0 100644
|
| --- a/chrome/browser/ui/gtk/collected_cookies_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/collected_cookies_gtk.cc
|
| @@ -9,6 +9,7 @@
|
| #include "chrome/browser/content_settings/host_content_settings_map.h"
|
| #include "chrome/browser/content_settings/tab_specific_content_settings.h"
|
| #include "chrome/browser/cookies_tree_model.h"
|
| +#include "chrome/browser/infobars/infobar_tab_helper.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/collected_cookies_infobar_delegate.h"
|
| #include "chrome/browser/ui/gtk/constrained_window_gtk.h"
|
| @@ -432,8 +433,9 @@ void CollectedCookiesGtk::Observe(int type,
|
|
|
| void CollectedCookiesGtk::OnClose(GtkWidget* close_button) {
|
| if (status_changed_) {
|
| - TabContentsWrapper::GetCurrentWrapperForContents(tab_contents_)->AddInfoBar(
|
| - new CollectedCookiesInfoBarDelegate(tab_contents_));
|
| + TabContentsWrapper::GetCurrentWrapperForContents(tab_contents_)->
|
| + infobar_tab_helper()->AddInfoBar(
|
| + new CollectedCookiesInfoBarDelegate(tab_contents_));
|
| }
|
| window_->CloseConstrainedWindow();
|
| }
|
|
|