Index: chrome/browser/prefs/browser_prefs.cc |
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc |
index fd84b269c4e81713e9e6c5fcb6f26142ac9943b0..874b3ef64696e7cfcaac8077f19b35242e004599 100644 |
--- a/chrome/browser/prefs/browser_prefs.cc |
+++ b/chrome/browser/prefs/browser_prefs.cc |
@@ -687,7 +687,10 @@ void MigrateProfileZoomLevelPrefs(Profile* profile) { |
migrated |= !host_zoom_dictionary->empty(); |
UMA_HISTOGRAM_BOOLEAN("Settings.ZoomLevelPreferencesMigrated", migrated); |
- zoom_level_prefs->ExtractPerHostZoomLevels(host_zoom_dictionary); |
+ // Since |host_zoom_dictionary| is not partition-based, do not attempt to |
+ // sanitize it. |
+ zoom_level_prefs->ExtractPerHostZoomLevels( |
+ host_zoom_dictionary, false /* sanitize_partition_host_zoom_levels */); |
// We're done migrating the profile per-host zoom level values, so we clear |
// them all. |