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

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: Eliminate old methods in interface 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 af37bd22a94f95daf048e165f2358bc5636d177b..3e4f1ef1b5e6112093bd5ee6072065c1adc2a460 100644
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
@@ -439,8 +439,8 @@ void OffTheRecordProfileImpl::Observe(
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->GetZoomLevel(std::string(), host);
+ host_zoom_map->SetZoomLevel(std::string(), host, level);
}
}
}
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_impl.cc » ('j') | content/browser/host_zoom_map_impl_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698