Use unique_ptr in THashTable

The hash does not use much of the functionality of
AutoTArray. Switch it to using std::unique_ptr.

Bug: b/40044745
Change-Id: Ib97c2df790a9f50aac471c73fa849d0ac522f9c3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/732858
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
2 files changed