Index: gm/dftext.cpp |
diff --git a/gm/dftext.cpp b/gm/dftext.cpp |
index 089308329ea580cbcb76aea6ead2f67409ffa316..1a46baffb35f1831baef78e21e55926f69401da3 100755 |
--- a/gm/dftext.cpp |
+++ b/gm/dftext.cpp |
@@ -19,7 +19,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(); |
} |