mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
76df029933
When the FontFaceSet gets unlinked, we remove the strong pointer it holds to to the UserFontSet. This is not strictly necessary, since that object will no longer have any reference to any other cycle collected object. In any case, the loaders keep alive the user font entries, which _don't_ keep alive the user font set (they have a weak reference instead). So if the user font set is gone, all is bad. Ensure we cancel all loads when unlinking rather than just when the object is destroyed, and that the font face loader doesn't keep a reference to the user font entry anymore after being canceled (this shouldn't be necessary either, but it's better IMO). Differential Revision: https://phabricator.services.mozilla.com/D18256 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
painting | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |