| Index: chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm
|
| ===================================================================
|
| --- chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm (revision 175396)
|
| +++ chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm (working copy)
|
| @@ -214,10 +214,8 @@
|
|
|
| - (void)windowWillClose:(NSNotification*)notif {
|
| if (contentSettingsChanged_) {
|
| - InfoBarService* infobarService =
|
| - InfoBarService::FromWebContents(webContents_);
|
| - infobarService->AddInfoBar(
|
| - new CollectedCookiesInfoBarDelegate(infobarService));
|
| + CollectedCookiesInfoBarDelegate::Create(
|
| + InfoBarService::FromWebContents(webContents_));
|
| }
|
| [allowedOutlineView_ setDelegate:nil];
|
| [blockedOutlineView_ setDelegate:nil];
|
|
|