| Index: chrome/browser/cocoa/content_settings_dialog_controller.mm
|
| diff --git a/chrome/browser/cocoa/content_settings_dialog_controller.mm b/chrome/browser/cocoa/content_settings_dialog_controller.mm
|
| index c635a9571bb0ad1426f7bf0d8cc7fa272ab8d872..a981a0fc47b52b67df1428a97a6b73befb424a21 100644
|
| --- a/chrome/browser/cocoa/content_settings_dialog_controller.mm
|
| +++ b/chrome/browser/cocoa/content_settings_dialog_controller.mm
|
| @@ -12,9 +12,10 @@
|
| #include "chrome/browser/browser_window.h"
|
| #import "chrome/browser/cocoa/content_exceptions_window_controller.h"
|
| #import "chrome/browser/cocoa/cookies_window_controller.h"
|
| -#import "chrome/browser/cocoa/geolocation_exceptions_window_controller.h"
|
| +#import "chrome/browser/cocoa/simple_content_exceptions_window_controller.h"
|
| #import "chrome/browser/cocoa/l10n_util.h"
|
| #import "chrome/browser/geolocation/geolocation_content_settings_map.h"
|
| +#import "chrome/browser/geolocation/geolocation_exceptions_table_model.h"
|
| #import "chrome/browser/host_content_settings_map.h"
|
| #include "chrome/browser/pref_service.h"
|
| #include "chrome/browser/profile.h"
|
| @@ -324,7 +325,9 @@ class PrefObserverDisabler {
|
| - (IBAction)showGeolocationExceptions:(id)sender {
|
| GeolocationContentSettingsMap* settingsMap =
|
| profile_->GetGeolocationContentSettingsMap();
|
| - [[GeolocationExceptionsWindowController controllerWithSettingsMap:settingsMap]
|
| + GeolocationExceptionsTableModel* model = // Freed by window controller.
|
| + new GeolocationExceptionsTableModel(settingsMap);
|
| + [[SimpleContentExceptionsWindowController controllerWithTableModel:model]
|
| attachSheetTo:[self window]];
|
| }
|
|
|
|
|