Bug 1758715 - Dont always instantiate a UtilityProcessManager from FOG r=gerald

Differential Revision: https://phabricator.services.mozilla.com/D139966
This commit is contained in:
Alexandre Lissy 2022-03-11 11:47:53 +00:00
Родитель c822d98978
Коммит a11d18e011
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -232,7 +232,7 @@ void FlushAllChildData(
}
if (RefPtr<UtilityProcessManager> utilityManager =
UtilityProcessManager::GetSingleton()) {
UtilityProcessManager::GetIfExists()) {
if (UtilityProcessParent* utilityParent =
utilityManager->GetProcessParent()) {
promises.EmplaceBack(utilityParent->SendFlushFOGData());