Index: chrome/browser/profiles/profile_impl.cc |
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
index 9296778715a51ca4625ff4c5bab326213db8dee6..20d40ec6287b0d4561e2535c63d5d7e476c34146 100644 |
--- a/chrome/browser/profiles/profile_impl.cc |
+++ b/chrome/browser/profiles/profile_impl.cc |
@@ -576,7 +576,7 @@ void ProfileImpl::InitHostZoomMap() { |
bool success = host_zoom_dictionary->GetDoubleWithoutPathExpansion( |
host, &zoom_level); |
DCHECK(success); |
- host_zoom_map->SetZoomLevel(host, zoom_level); |
+ host_zoom_map->SetZoomLevelForHost(host, zoom_level); |
} |
} |
@@ -980,7 +980,7 @@ void ProfileImpl::OnZoomLevelChanged(const std::string& host) { |
if (host.empty()) |
return; |
HostZoomMap* host_zoom_map = HostZoomMap::GetForBrowserContext(this); |
- double level = host_zoom_map->GetZoomLevel(host); |
+ double level = host_zoom_map->GetZoomLevelForHost(host); |
DictionaryPrefUpdate update(prefs_.get(), prefs::kPerHostZoomLevels); |
DictionaryValue* host_zoom_dictionary = update.Get(); |
if (level == host_zoom_map->GetDefaultZoomLevel()) { |