Index: gm/mixedtextblobs.cpp |
diff --git a/gm/mixedtextblobs.cpp b/gm/mixedtextblobs.cpp |
index 53bd7f7e3614a75856b8c20ba94a7e9a30d0506d..681b0b7cb1d0714425602825ffead09917ea8de1 100644 |
--- a/gm/mixedtextblobs.cpp |
+++ b/gm/mixedtextblobs.cpp |
@@ -39,7 +39,7 @@ public: |
protected: |
void onOnceBeforeDraw() override { |
- fEmojiTypeface.reset(sk_tool_utils::emoji_typeface()); |
+ sk_tool_utils::emoji_typeface(&fEmojiTypeface); |
fEmojiText = sk_tool_utils::emoji_sample_text(); |
fReallyBigATypeface.reset(GetResourceAsTypeface("/fonts/ReallyBigA.ttf")); |