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