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