
When IsGraphiteContextThreadSafe() is true, only one graphite::Context is created and shared by all SharedContextStates. This CL ensures only one GraphiteCacheController is responsible for cleaning up Graphite resource cache. Bug: 407874799 Change-Id: I7caab4af368c250c5cac9faa037366795858058f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6503536 Reviewed-by: Kyle Charbonneau <kylechar@chromium.org> Commit-Queue: Maggie Chen <magchen@chromium.org> Cr-Commit-Position: refs/heads/main@{#1454673}