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..b9f45e3a58643094c8d52d68293819d34fbf7233 100644 |
--- a/chrome/browser/ui/webui/options2/content_settings_handler2.cc |
+++ b/chrome/browser/ui/webui/options2/content_settings_handler2.cc |
@@ -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::SendPageValues() { |
+ UpdateHandlersEnabledRadios(); |
+ UpdateAllExceptionsViewsFromModel(); |
+} |
+ |
void ContentSettingsHandler::Observe( |
int type, |
const content::NotificationSource& source, |