diff options
Diffstat (limited to 'app/win_util.cc')
-rw-r--r-- | app/win_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/win_util.cc b/app/win_util.cc index e760a24..302f2b8 100644 --- a/app/win_util.cc +++ b/app/win_util.cc @@ -541,7 +541,7 @@ gfx::Font GetWindowTitleFont() { win_util::GetNonClientMetrics(&ncm); l10n_util::AdjustUIFont(&(ncm.lfCaptionFont)); ScopedHFONT caption_font(CreateFontIndirect(&(ncm.lfCaptionFont))); - return gfx::Font::CreateFont(caption_font); + return gfx::Font(caption_font); } void SetAppIdForWindow(const std::wstring& app_id, HWND hwnd) { |