| Index: tests/TextBlobCacheTest.cpp
|
| diff --git a/tests/TextBlobCacheTest.cpp b/tests/TextBlobCacheTest.cpp
|
| index 6f67382a0f6b4f3c22089348496fbd3801f61a3d..cf2a2390b9b172bab3fe52dde9746a7a8de55fe5 100644
|
| --- a/tests/TextBlobCacheTest.cpp
|
| +++ b/tests/TextBlobCacheTest.cpp
|
| @@ -107,7 +107,7 @@ static void text_blob_cache_inner(skiatest::Reporter* reporter, GrContextFactory
|
| if (normal) {
|
| paint.setTypeface(orig);
|
| } else {
|
| - SkAutoTUnref<SkTypeface> typeface(SkNEW_ARGS(SkRandomTypeface, (orig, paint, true)));
|
| + SkAutoTUnref<SkTypeface> typeface(new SkRandomTypeface(orig, paint, true));
|
| paint.setTypeface(typeface);
|
| }
|
|
|
|
|