Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Unified Diff: chrome/browser/profiles/off_the_record_profile_impl.cc

Issue 11866004: Add scheme to HostZoomMap (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix alignment, add comment Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/off_the_record_profile_impl.cc
diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc
index 7baff3ec3ebcfce1983267f805851762f60f67c1..1799df24b74424a9c58874cb2fc9c85328855e83 100644
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
@@ -498,6 +498,6 @@ void OffTheRecordProfileImpl::OnZoomLevelChanged(const std::string& host) {
HostZoomMap* host_zoom_map = HostZoomMap::GetForBrowserContext(this);
HostZoomMap* parent_host_zoom_map =
HostZoomMap::GetForBrowserContext(profile_);
- double level = parent_host_zoom_map->GetZoomLevel(host);
- host_zoom_map->SetZoomLevel(host, level);
+ double level = parent_host_zoom_map->GetZoomLevelForHost(host);
+ host_zoom_map->SetZoomLevelForHost(host, level);
}
« no previous file with comments | « no previous file | chrome/browser/profiles/off_the_record_profile_impl_unittest.cc » ('j') | content/public/browser/host_zoom_map.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698