зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1571530 - Remove sheets from the <link> cache when they have been touched by CSS OM. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D41563 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
b9e6e577b3
Коммит
a61410f8ae
|
@ -535,6 +535,9 @@ auto Loader::Sheets::Lookup(SheetLoadDataHashKey& aKey, bool aSyncLoad)
|
|||
return MakeTuple(std::move(clone), SheetState::Complete);
|
||||
}
|
||||
LOG((" Not cloning due to forced unique inner"));
|
||||
// Remove it now that we know that we're never going to use this stylesheet
|
||||
// again.
|
||||
lookup.Remove();
|
||||
}
|
||||
|
||||
if (aSyncLoad) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче