| Index: chrome/browser/ui/webui/options2/content_settings_handler2.cc
|
| diff --git a/chrome/browser/ui/webui/options2/content_settings_handler2.cc b/chrome/browser/ui/webui/options2/content_settings_handler2.cc
|
| index c5b771b5a51bd0fed1aa60343a963dcfc6331e35..bea27fe82f817bededfcf3f6e8afa66ef5024126 100644
|
| --- a/chrome/browser/ui/webui/options2/content_settings_handler2.cc
|
| +++ b/chrome/browser/ui/webui/options2/content_settings_handler2.cc
|
| @@ -293,7 +293,7 @@ void ContentSettingsHandler::GetLocalizedValues(
|
| switches::kDisableRestoreSessionState));
|
| }
|
|
|
| -void ContentSettingsHandler::Initialize() {
|
| +void ContentSettingsHandler::InitializeHandler() {
|
| notification_registrar_.Add(
|
| this, chrome::NOTIFICATION_PROFILE_CREATED,
|
| content::NotificationService::AllSources());
|
| @@ -301,8 +301,6 @@ void ContentSettingsHandler::Initialize() {
|
| this, chrome::NOTIFICATION_PROFILE_DESTROYED,
|
| content::NotificationService::AllSources());
|
|
|
| - UpdateHandlersEnabledRadios();
|
| - UpdateAllExceptionsViewsFromModel();
|
| notification_registrar_.Add(
|
| this, chrome::NOTIFICATION_CONTENT_SETTINGS_CHANGED,
|
| content::NotificationService::AllSources());
|
| @@ -319,6 +317,11 @@ void ContentSettingsHandler::Initialize() {
|
| pref_change_registrar_.Add(prefs::kGeolocationContentSettings, this);
|
| }
|
|
|
| +void ContentSettingsHandler::InitializePage() {
|
| + UpdateHandlersEnabledRadios();
|
| + UpdateAllExceptionsViewsFromModel();
|
| +}
|
| +
|
| void ContentSettingsHandler::Observe(
|
| int type,
|
| const content::NotificationSource& source,
|
|
|