Index: content/browser/renderer_host/sandbox_ipc_linux.cc |
diff --git a/content/browser/renderer_host/sandbox_ipc_linux.cc b/content/browser/renderer_host/sandbox_ipc_linux.cc |
index 8088598bba71e9db9d1f88391419893914b5b5ea..65585c13550b4b28c23c3ad585daf4b588196a4e 100644 |
--- a/content/browser/renderer_host/sandbox_ipc_linux.cc |
+++ b/content/browser/renderer_host/sandbox_ipc_linux.cc |
@@ -304,8 +304,8 @@ void SandboxIPCHandler::HandleGetStyleForStrike( |
gfx::FontRenderParamsQuery query; |
query.families.push_back(family); |
query.pixel_size = pixel_size; |
- query.style = gfx::Font::NORMAL | |
- (bold ? gfx::Font::BOLD : 0) | (italic ? gfx::Font::ITALIC : 0); |
+ query.style = italic ? gfx::Font::ITALIC : 0; |
+ query.weight = bold ? gfx::Font::Weight::BOLD : gfx::Font::Weight::NORMAL; |
const gfx::FontRenderParams params = gfx::GetFontRenderParams(query, NULL); |
// These are passed as ints since they're interpreted as tri-state chars in |