Index: content/browser/host_zoom_map.cc |
diff --git a/content/browser/host_zoom_map.cc b/content/browser/host_zoom_map.cc |
index 2e5d82ec637ec201856c956bb6d44fdcc27fe6bb..523d6d7c82c3558afa2a7d2ba861b9de6ca1d8f0 100644 |
--- a/content/browser/host_zoom_map.cc |
+++ b/content/browser/host_zoom_map.cc |
@@ -127,10 +127,9 @@ void HostZoomMap::SetZoomLevel(const GURL& url, double level) { |
updating_preferences_ = true; |
{ |
- ScopedUserPrefUpdate update(profile_->GetPrefs(), |
+ DictionaryPrefUpdate update(profile_->GetPrefs(), |
prefs::kPerHostZoomLevels); |
- DictionaryValue* host_zoom_dictionary = |
- profile_->GetPrefs()->GetMutableDictionary(prefs::kPerHostZoomLevels); |
+ DictionaryValue* host_zoom_dictionary = update.Get(); |
if (level == default_zoom_level_) { |
host_zoom_dictionary->RemoveWithoutPathExpansion(host, NULL); |
} else { |