Index: src/ports/SkFontMgr_win_dw.cpp |
diff --git a/src/ports/SkFontMgr_win_dw.cpp b/src/ports/SkFontMgr_win_dw.cpp |
index ecca57ff513da78da6dcbcb63eb4785004917e4e..e9d494f51477cb892984222085935742da845cdd 100644 |
--- a/src/ports/SkFontMgr_win_dw.cpp |
+++ b/src/ports/SkFontMgr_win_dw.cpp |
@@ -331,7 +331,7 @@ struct ProtoDWriteTypeface { |
IDWriteFontFamily* fDWriteFontFamily; |
}; |
-static bool FindByDWriteFont(SkTypeface* cached, SkTypeface::Style, void* ctx) { |
+static bool FindByDWriteFont(SkTypeface* cached, const SkFontStyle&, void* ctx) { |
DWriteFontTypeface* cshFace = reinterpret_cast<DWriteFontTypeface*>(cached); |
ProtoDWriteTypeface* ctxFace = reinterpret_cast<ProtoDWriteTypeface*>(ctx); |
bool same; |