Bug 1882181 - In gfxUserFontEntry::ContinueLoad, check whether the load has been...
commitec6595c2d7affef08a95e57591f9ce5b448ac568
authorJonathan Kew <jkew@mozilla.com>
Mon, 1 Apr 2024 16:03:43 +0000 (1 16:03 +0000)
committerJonathan Kew <jkew@mozilla.com>
Mon, 1 Apr 2024 16:03:43 +0000 (1 16:03 +0000)
tree3cf9d712f9fba498a80ec58ca73fd6d073a21184
parent2ef639d204b99df7f4628896f7224b7335afdbbd
Bug 1882181 - In gfxUserFontEntry::ContinueLoad, check whether the load has been cancelled already. r=gfx-reviewers,lsalzman

This can happen if there's been a font-list rebuild (which cancels any pending loads)
in between posting the ContinueLoad runnable and the main thread getting a chance to
run it.

Differential Revision: https://phabricator.services.mozilla.com/D206229
gfx/thebes/gfxUserFontSet.cpp