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

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

Issue 147005: Linux: fix fake italics for font's without italic variants. (Closed)
Patch Set: ... Created 11 years, 6 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 | skia/ext/SkFontHost_fontconfig.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/render_sandbox_host_linux.cc
diff --git a/chrome/browser/renderer_host/render_sandbox_host_linux.cc b/chrome/browser/renderer_host/render_sandbox_host_linux.cc
index c0ca6f69a8f5b1ba26b7729555a69f78bbb1bfc0..dcd20d9158d5849109aa95e2ff4931b697239638 100644
--- a/chrome/browser/renderer_host/render_sandbox_host_linux.cc
+++ b/chrome/browser/renderer_host/render_sandbox_host_linux.cc
@@ -133,8 +133,8 @@ class SandboxIPCProcess {
unsigned result_fileid;
const bool r = font_config_->Match(
- &result_family, &result_fileid, fileid_valid, fileid, family, is_bold,
- is_italic);
+ &result_family, &result_fileid, fileid_valid, fileid, family, &is_bold,
+ &is_italic);
Pickle reply;
if (!r) {
@@ -143,6 +143,8 @@ class SandboxIPCProcess {
reply.WriteBool(true);
reply.WriteUInt32(result_fileid);
reply.WriteString(result_family);
+ reply.WriteBool(is_bold);
+ reply.WriteBool(is_italic);
}
SendRendererReply(fds, reply, -1);
}
« no previous file with comments | « no previous file | skia/ext/SkFontHost_fontconfig.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698