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

Unified Diff: content/browser/host_zoom_map_impl.cc

Issue 1408393003: Propagate pageScaleFactor to GuestViews (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove redundant initialization of AwLayoutSizer's page scale factor in tests Created 5 years, 1 month 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: content/browser/host_zoom_map_impl.cc
diff --git a/content/browser/host_zoom_map_impl.cc b/content/browser/host_zoom_map_impl.cc
index 2c1c5ec3e8d39d539714d9237d3a8d8ee746c665..cb394f81cbe857e051b70d813d74c5893b129699 100644
--- a/content/browser/host_zoom_map_impl.cc
+++ b/content/browser/host_zoom_map_impl.cc
@@ -75,6 +75,8 @@ HostZoomMap* HostZoomMap::Get(SiteInstance* instance) {
}
HostZoomMap* HostZoomMap::GetForWebContents(const WebContents* contents) {
+ // TODO(wjmaclean): Update this behaviour to work with OOPIF.
+ // See crbug.com/528407.
StoragePartition* partition =
BrowserContext::GetStoragePartition(contents->GetBrowserContext(),
contents->GetSiteInstance());

Powered by Google App Engine
This is Rietveld 408576698