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

Unified Diff: chrome/browser/renderer_host/render_view_host.cc

Issue 155787: Make Linux pass users' font settings through to renderer. (Closed)
Patch Set: remove unneeded include Created 11 years, 5 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 | « chrome/browser/renderer_host/render_view_host.h ('k') | chrome/browser/tab_contents/tab_contents.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/render_view_host.cc
diff --git a/chrome/browser/renderer_host/render_view_host.cc b/chrome/browser/renderer_host/render_view_host.cc
index 73a66fa8fb330b09c1ae9bcd26ee96f679cd06d7..01f21ff7e3a38dad7c67bbb2500ff1f87120218d 100644
--- a/chrome/browser/renderer_host/render_view_host.cc
+++ b/chrome/browser/renderer_host/render_view_host.cc
@@ -231,9 +231,9 @@ bool RenderViewHost::IsRenderViewLive() const {
return process()->HasConnection() && renderer_initialized_;
}
-void RenderViewHost::SetRendererPrefs(
- const RendererPreferences& renderer_prefs) {
- Send(new ViewMsg_SetRendererPrefs(routing_id(), renderer_prefs));
+void RenderViewHost::SyncRendererPrefs() {
+ Send(new ViewMsg_SetRendererPrefs(routing_id(),
+ delegate_->GetRendererPrefs()));
}
void RenderViewHost::Navigate(const ViewMsg_Navigate_Params& params) {
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.h ('k') | chrome/browser/tab_contents/tab_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698