| Index: tests/TextBlobTest.cpp
|
| diff --git a/tests/TextBlobTest.cpp b/tests/TextBlobTest.cpp
|
| index 923669e8c5618e0940e729b4c6c243bab2731421..61070247b4aee67f3f747ef07f0978afed0bbbc8 100644
|
| --- a/tests/TextBlobTest.cpp
|
| +++ b/tests/TextBlobTest.cpp
|
| @@ -178,12 +178,10 @@ public:
|
| SkPaint font;
|
| font.setTextEncoding(SkPaint::kGlyphID_TextEncoding);
|
|
|
| - SkAutoTUnref<SkTypeface> typeface(SkTypeface::RefDefault());
|
| -
|
| // Kitchen sink font.
|
| font.setTextSize(42);
|
| font.setTextScaleX(4.2f);
|
| - font.setTypeface(typeface);
|
| + font.setTypeface(SkTypeface::MakeDefault());
|
| font.setTextSkewX(0.42f);
|
| font.setTextAlign(SkPaint::kCenter_Align);
|
| font.setHinting(SkPaint::kFull_Hinting);
|
|
|