Index: chrome/browser/cocoa/preferences_window_controller.mm |
=================================================================== |
--- chrome/browser/cocoa/preferences_window_controller.mm (revision 36995) |
+++ chrome/browser/cocoa/preferences_window_controller.mm (working copy) |
@@ -1315,8 +1315,11 @@ |
// Shows the cookies controller. |
- (IBAction)showCookies:(id)sender { |
// The controller will clean itself up. |
+ BrowsingDataLocalStorageHelper* storageHelper = |
+ new BrowsingDataLocalStorageHelper(profile_); |
CookiesWindowController* controller = |
- [[CookiesWindowController alloc] initWithProfile:profile_]; |
+ [[CookiesWindowController alloc] initWithProfile:profile_ |
+ storageHelper:storageHelper]; |
[controller attachSheetTo:[self window]]; |
} |