| Index: ui/gfx/platform_font_win.cc
|
| diff --git a/ui/gfx/platform_font_win.cc b/ui/gfx/platform_font_win.cc
|
| index 548e84bf18f9e9535a63ef611949884ed99d8d96..4acaf64b34abdb2ff9abb8b0755e588741f8f1e1 100644
|
| --- a/ui/gfx/platform_font_win.cc
|
| +++ b/ui/gfx/platform_font_win.cc
|
| @@ -201,12 +201,7 @@
|
|
|
| void PlatformFontWin::InitWithFontNameAndSize(const std::string& font_name,
|
| int font_size) {
|
| - HFONT hf = ::CreateFont(-font_size, 0, 0, 0, FW_DONTCARE, FALSE, FALSE, FALSE,
|
| - DEFAULT_CHARSET,
|
| - OUT_DEFAULT_PRECIS,
|
| - CLIP_DEFAULT_PRECIS,
|
| - DEFAULT_QUALITY,
|
| - DEFAULT_PITCH | FF_DONTCARE,
|
| + HFONT hf = ::CreateFont(-font_size, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
| base::UTF8ToUTF16(font_name).c_str());
|
| font_ref_ = CreateHFontRef(hf);
|
| }
|
|
|