Andrew Osmond e5b44ceaaa Bug 1870957 - Part 2. Allow nsExpirationTracker to be created on any thread. r=gfx-reviewers,lsalzman
This patch allows us to create nsExpirationTracker objects off the main
thread, with the caveat that memory pressure events should/must be
handled directly by the creator rather than managed internally. With
that in mind, the threading assertions have also been updated to ensure
it is always the owning thread that accesses the tracker.

Differential Revision: https://phabricator.services.mozilla.com/D189527
2023-12-20 13:01:19 +00:00
..