Index: gm/textblob.cpp |
diff --git a/gm/textblob.cpp b/gm/textblob.cpp |
index 525cfd292d009cb63dedf6af24afbb155886d389..2ac7d27f07980ec7a24efccae438af412737b440 100644 |
--- a/gm/textblob.cpp |
+++ b/gm/textblob.cpp |
@@ -72,7 +72,7 @@ public: |
protected: |
void onOnceBeforeDraw() override { |
- fTypeface = sk_tool_utils::create_portable_typeface("serif", SkTypeface::kNormal); |
+ fTypeface = sk_tool_utils::create_portable_typeface("serif", SkFontStyle()); |
SkPaint p; |
p.setTypeface(fTypeface); |
size_t txtLen = strlen(fText); |