Chromium Code Reviews| Index: app/win_util.cc |
| =================================================================== |
| --- app/win_util.cc (revision 55911) |
| +++ app/win_util.cc (working copy) |
| @@ -541,7 +541,7 @@ |
| 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) { |