mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
Bug 1822062 - avoid sending NotifyVisited IPCs with no URIs, r=emilio.
Differential Revision: https://phabricator.services.mozilla.com/D172688
This commit is contained in:
parent
5df0512bdd
commit
839d8942f2
@ -216,7 +216,9 @@ void BaseHistory::SendPendingVisitedResultsToChildProcesses() {
|
||||
resultsForProcess.AppendElement(result.mResult);
|
||||
}
|
||||
}
|
||||
Unused << NS_WARN_IF(!cp->SendNotifyVisited(resultsForProcess));
|
||||
if (!resultsForProcess.IsEmpty()) {
|
||||
Unused << NS_WARN_IF(!cp->SendNotifyVisited(resultsForProcess));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user