diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-01-30 09:56:43 -0800 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-01-30 18:16:45 +0000 |
commit | 4ada364e183e05479bc45d2ce41700ae18b7f6a3 (patch) | |
tree | 435adbe6e6bdb202f150588793aad6afd3d02c4a /test | |
parent | 5535ac7897358d9b5f2f7eb508f4aa44791e501f (diff) | |
download | pdfium-4ada364e183e05479bc45d2ce41700ae18b7f6a3.tar.xz |
Cleanup memory allocations in ttgsubtable.cpp
Rename array members to plurals.
Use std::vectors rather than native arrays and counts.
Use std::set instead of map of key to itself.
Use unique_ptr inside vector to clean subtables.
Mark non-existent constructors() = delete.
Change-Id: Ifde189157e8affb5de654a44fac8b9358de7079b
Reviewed-on: https://pdfium-review.googlesource.com/2452
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions