diff options
Diffstat (limited to 'chromium/ui/gfx/platform_font_win.cc')
-rw-r--r-- | chromium/ui/gfx/platform_font_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/ui/gfx/platform_font_win.cc b/chromium/ui/gfx/platform_font_win.cc index 7a43e1309b2..95081345e6c 100644 --- a/chromium/ui/gfx/platform_font_win.cc +++ b/chromium/ui/gfx/platform_font_win.cc @@ -740,7 +740,7 @@ void PlatformFontWin::AdjustLOGFONT( LOGFONT* logfont) { DCHECK_GT(font_adjustment.font_scale, 0.0); LONG new_height = - LONG{std::round(logfont->lfHeight * font_adjustment.font_scale)}; + LONG(std::round(logfont->lfHeight * font_adjustment.font_scale)); if (logfont->lfHeight && !new_height) new_height = logfont->lfHeight > 0 ? 1 : -1; logfont->lfHeight = new_height; |