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

Unified Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 1069683006: Ensure that the Windows system font information and the scrollbar metrics are synced with the ViewM… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_view_host_impl.cc
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
index 730860e8ada8549224b94356ab45d66da0ee4d2d..0d2df83afac5643036d8cf3dbf0d32b626998c48 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -357,9 +357,12 @@ bool RenderViewHostImpl::IsRenderViewLive() const {
}
void RenderViewHostImpl::SyncRendererPrefs() {
- Send(new ViewMsg_SetRendererPrefs(GetRoutingID(),
- delegate_->GetRendererPrefs(
- GetProcess()->GetBrowserContext())));
+ RendererPreferences renderer_preferences =
+ delegate_->GetRendererPrefs(GetProcess()->GetBrowserContext());
+#if defined(OS_WIN)
+ GetWindowsSpecificPrefs(&renderer_preferences);
+#endif
+ Send(new ViewMsg_SetRendererPrefs(GetRoutingID(), renderer_preferences));
}
WebPreferences RenderViewHostImpl::ComputeWebkitPrefs() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698