| 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 62feacc5483e12f85aaf2bd22c41755d041c316d..e9c9a2815bb19d172398c79c3a78b28d26fb5ed2 100644
|
| --- a/content/browser/renderer_host/sandbox_ipc_linux.cc
|
| +++ b/content/browser/renderer_host/sandbox_ipc_linux.cc
|
| @@ -303,8 +303,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
|
|
|