From 85dc359f749c349bbd8e0ba56825b9457f654237 Mon Sep 17 00:00:00 2001 From: bungeman Date: Tue, 9 Feb 2016 11:32:56 -0800 Subject: Remove SkNEW_APPEND_TO_TARRAY. The use of SkNEW_APPEND_TO_TARRAY is now better served by SkTArray::emplace_back(...) which should now be used instead. The existing users of SkNEW_APPEND_TO_TARRAY are converted and the code relating to SkNEW_APPEND_TO_TARRAY is removed. TBR=reed This only removes code. The file should also be made private. Review URL: https://codereview.chromium.org/1682083002 --- tests/TextBlobCacheTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/TextBlobCacheTest.cpp') diff --git a/tests/TextBlobCacheTest.cpp b/tests/TextBlobCacheTest.cpp index 6aa6c20ed6..c2907fc6c7 100644 --- a/tests/TextBlobCacheTest.cpp +++ b/tests/TextBlobCacheTest.cpp @@ -126,7 +126,7 @@ static void text_blob_cache_inner(skiatest::Reporter* reporter, GrContext* conte } } } - SkNEW_APPEND_TO_TARRAY(&blobs, TextBlobWrapper, (builder.build())); + blobs.emplace_back(builder.build()); } } -- cgit v1.2.3