aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/TextBlobCacheTest.cpp
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2016-02-09 11:32:56 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-09 11:32:56 -0800
commit85dc359f749c349bbd8e0ba56825b9457f654237 (patch)
tree0c0fa177c8cd4dad9a70e13027bea466abe283dc /tests/TextBlobCacheTest.cpp
parent8273ca460fcde18ec884279fb9a41f330e92e0f9 (diff)
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
Diffstat (limited to 'tests/TextBlobCacheTest.cpp')
-rw-r--r--tests/TextBlobCacheTest.cpp2
1 files changed, 1 insertions, 1 deletions
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());
}
}