Index: tests/TextBlobTest.cpp |
diff --git a/tests/TextBlobTest.cpp b/tests/TextBlobTest.cpp |
index 923669e8c5618e0940e729b4c6c243bab2731421..0984be97ca50b821693095ec1732eb85eabd16bf 100644 |
--- a/tests/TextBlobTest.cpp |
+++ b/tests/TextBlobTest.cpp |
@@ -178,7 +178,7 @@ public: |
SkPaint font; |
font.setTextEncoding(SkPaint::kGlyphID_TextEncoding); |
- SkAutoTUnref<SkTypeface> typeface(SkTypeface::RefDefault()); |
+ sk_sp<SkTypeface> typeface(SkTypeface::MakeDefault()); |
// Kitchen sink font. |
font.setTextSize(42); |