| Index: chrome/browser/ui/webui/options/content_settings_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/content_settings_handler.cc b/chrome/browser/ui/webui/options/content_settings_handler.cc
|
| index 531952ecab655c7044bc120379e1a04836c9766c..70b00407d825abae93bd094ca67e9cd5c3962780 100644
|
| --- a/chrome/browser/ui/webui/options/content_settings_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/content_settings_handler.cc
|
| @@ -515,12 +515,15 @@ void ContentSettingsHandler::InitializeHandler() {
|
| &ContentSettingsHandler::UpdateProtectedContentExceptionsButton,
|
| base::Unretained(this)));
|
|
|
| - content::HostZoomMap* host_zoom_map =
|
| - content::HostZoomMap::GetForBrowserContext(context);
|
| + // Here we only subscribe to the HostZoomMap for the default storage partition
|
| + // since we don't allow the user to manage the zoom levels for apps.
|
| + // We're only interested in zoom-levels that are persisted, since the user
|
| + // is given the opportunity to view/delete these in the content-settings page.
|
| host_zoom_map_subscription_ =
|
| - host_zoom_map->AddZoomLevelChangedCallback(
|
| - base::Bind(&ContentSettingsHandler::OnZoomLevelChanged,
|
| - base::Unretained(this)));
|
| + content::HostZoomMap::GetForBrowserContext(context)
|
| + ->AddZoomLevelChangedCallback(
|
| + base::Bind(&ContentSettingsHandler::OnZoomLevelChanged,
|
| + base::Unretained(this)));
|
|
|
| flash_settings_manager_.reset(new PepperFlashSettingsManager(this, context));
|
| }
|
|
|