SkSharingProc: Use THashMap instead of unordered_map
Save space and new/delete overhead by using our optimized map. Store
"int"s in fImageMap since we store the old size as the id, and
THashMap returns the size as an "int".
Bug: 297243117
Bug: 297208066
Test: Manual. Capture an MSKP from HWUI and open in debugger
Change-Id: I2dabef6f3026a97b6aee9aae4836567270f3d22c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/747601
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
2 files changed