Index: third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp |
diff --git a/third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp b/third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp |
index c2a17f5d38224c6bbca1660a44dfc67c81ed28d7..83e6b44a7c0f097999aeee54c86f234e8544706f 100644 |
--- a/third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp |
+++ b/third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp |
@@ -52,7 +52,7 @@ static inline bool isFontPresent(const UChar* fontName, SkFontMgr* fontManager) |
if (FontCache::useDirectWrite()) |
typeface = fontManager->matchFamilyStyle(family.utf8().data(), SkFontStyle()); |
else |
- typeface = fontManager->legacyCreateTypeface(family.utf8().data(), SkTypeface::kNormal); |
+ typeface = fontManager->legacyCreateTypeface(family.utf8().data(), SkFontStyle()); |
if (!typeface) |
return false; |