Index: content/browser/renderer_host/render_sandbox_host_linux.cc |
diff --git a/content/browser/renderer_host/render_sandbox_host_linux.cc b/content/browser/renderer_host/render_sandbox_host_linux.cc |
index 0ce5d884229326b01ed6830ccd99c0187ef0f2f7..50706e90e2d93567b47621024c13d845fee805dd 100644 |
--- a/content/browser/renderer_host/render_sandbox_host_linux.cc |
+++ b/content/browser/renderer_host/render_sandbox_host_linux.cc |
@@ -267,16 +267,20 @@ class SandboxIPCProcess { |
if (!pickle.ReadString(&iter, &preferred_locale)) |
return; |
- WebCString family = WebFontInfo::familyForChars(chars.get(), |
- num_chars, |
- preferred_locale.c_str()); |
+ WebKit::WebFontFamily family; |
+ WebFontInfo::familyForChars(chars.get(), |
+ num_chars, |
+ preferred_locale.c_str(), |
+ &family); |
Pickle reply; |
- if (family.data()) { |
- reply.WriteString(family.data()); |
+ if (family.name.data()) { |
+ reply.WriteString(family.name.data()); |
} else { |
reply.WriteString(""); |
} |
+ reply.WriteBool(family.isBold); |
+ reply.WriteBool(family.isItalic); |
SendRendererReply(fds, reply, -1); |
} |