Bug 1196151 - use browsing contexts for urifixupinfo's consumer property, r=mak

Differential Revision: https://phabricator.services.mozilla.com/D74559
This commit is contained in:
Gijs Kruitbosch
2020-05-13 14:54:47 +00:00
parent 3895faf063
commit 94f3967efb
7 changed files with 12 additions and 34 deletions

View File

@@ -3253,7 +3253,7 @@ nsresult nsDocShell::LoadURI(const nsAString& aURI,
RefPtr<nsDocShellLoadState> loadState;
nsresult rv = nsDocShellLoadState::CreateFromLoadURIOptions(
GetAsSupports(this), aURI, aLoadURIOptions, getter_AddRefs(loadState));
mBrowsingContext, aURI, aLoadURIOptions, getter_AddRefs(loadState));
uint32_t loadFlags = aLoadURIOptions.mLoadFlags;
if (NS_ERROR_MALFORMED_URI == rv) {