зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1805873 - Clean up HasWorkerLoadContext code related to non-cc'd load context;r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D165040
This commit is contained in:
Родитель
5fb1e00941
Коммит
6952f8568d
|
@ -112,12 +112,6 @@ void ScriptLoadRequest::Cancel() {
|
|||
if (HasScriptLoadContext()) {
|
||||
GetScriptLoadContext()->MaybeCancelOffThreadScript();
|
||||
}
|
||||
if (HasWorkerLoadContext()) {
|
||||
// The back reference needs to be cleared for workers, as there is no CC.
|
||||
// However, we don't want to remove our pointer to the worker load
|
||||
// context as it is used to determine load failure information.
|
||||
GetWorkerLoadContext()->mRequest = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
void ScriptLoadRequest::DropBytecodeCacheReferences() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче