cc: ResourcePool release lost resources
Currently ResourcePool keeps lost resources forever, taking
up memory accounting, and possibly real memory. It should
check for lost resources and free them from the pool and
ResourceProvider.
Add some basic unit tests for ResourcePool along with
unit tests for this change.
BUG=512265
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1244173006
Cr-Commit-Position: refs/heads/master@{#339988}
7 files changed