| Index: chrome/browser/ui/content_settings/content_setting_bubble_model.cc
|
| ===================================================================
|
| --- chrome/browser/ui/content_settings/content_setting_bubble_model.cc (revision 175396)
|
| +++ chrome/browser/ui/content_settings/content_setting_bubble_model.cc (working copy)
|
| @@ -379,10 +379,8 @@
|
|
|
| ContentSettingCookiesBubbleModel::~ContentSettingCookiesBubbleModel() {
|
| if (settings_changed()) {
|
| - InfoBarService* infobar_service =
|
| - InfoBarService::FromWebContents(web_contents());
|
| - infobar_service->AddInfoBar(
|
| - new CollectedCookiesInfoBarDelegate(infobar_service));
|
| + CollectedCookiesInfoBarDelegate::Create(
|
| + InfoBarService::FromWebContents(web_contents()));
|
| }
|
| }
|
|
|
|
|