Index: ui/gfx/platform_font_win.cc |
diff --git a/ui/gfx/platform_font_win.cc b/ui/gfx/platform_font_win.cc |
index e8cf24586af6de42ef1c09b2ab16c2a6a2883bf5..e3bbd2034bcd6bc99590cff6e47d48f5c1b19dfa 100644 |
--- a/ui/gfx/platform_font_win.cc |
+++ b/ui/gfx/platform_font_win.cc |
@@ -111,9 +111,9 @@ HRESULT FindDirectWriteFontForLOGFONT(IDWriteFactory* factory, |
return hr; |
LOGFONT converted_font = {0}; |
- hr = gdi_interop->ConvertFontFaceToLOGFONT(font_face.get(), &converted_font); |
+ hr = gdi_interop->ConvertFontFaceToLOGFONT(font_face.Get(), &converted_font); |
if (SUCCEEDED(hr)) { |
- hr = font_collection->GetFontFromFontFace(font_face.get(), dwrite_font); |
+ hr = font_collection->GetFontFromFontFace(font_face.Get(), dwrite_font); |
if (SUCCEEDED(hr)) { |
wcscpy_s(font_info->lfFaceName, arraysize(font_info->lfFaceName), |
converted_font.lfFaceName); |