Bug 1920960 - Simplify nsDocShellLoadState::CalculateChannelLoadFlags argument. r=farre

Differential Revision: https://phabricator.services.mozilla.com/D223499
This commit is contained in:
Peter Van der Beken
2024-10-02 12:26:40 +00:00
parent 7c2b5f1f96
commit 94b09a989c
7 changed files with 11 additions and 14 deletions

View File

@@ -10438,7 +10438,7 @@ nsresult nsDocShell::DoURILoad(nsDocShellLoadState* aLoadState,
}
nsLoadFlags loadFlags = aLoadState->CalculateChannelLoadFlags(
mBrowsingContext, Some(uriModified), Some(isEmbeddingBlockedError));
mBrowsingContext, uriModified, Some(isEmbeddingBlockedError));
nsCOMPtr<nsIChannel> channel;
if (DocumentChannel::CanUseDocumentChannel(aLoadState->URI()) &&