mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-12-28 11:32:05 +00:00
#402: M1355039, tune up M1356755
This commit is contained in:
parent
d16728f384
commit
4e9af1b2f2
@ -5323,11 +5323,16 @@ nsDocShell::Reload(uint32_t aReloadFlags)
|
||||
}
|
||||
}
|
||||
|
||||
rv = InternalLoad(mCurrentURI,
|
||||
// Stack variables to ensure changes to the member variables don't affect
|
||||
// the call.
|
||||
nsCOMPtr<nsIURI> currentURI = mCurrentURI;
|
||||
nsCOMPtr<nsIURI> referrerURI = mReferrerURI;
|
||||
uint32_t referrerPolicy = mReferrerPolicy;
|
||||
rv = InternalLoad(currentURI,
|
||||
originalURI,
|
||||
loadReplace,
|
||||
mReferrerURI,
|
||||
mReferrerPolicy,
|
||||
referrerURI,
|
||||
referrerPolicy,
|
||||
principal,
|
||||
flags,
|
||||
nullptr, // No window target
|
||||
|
@ -9411,7 +9411,7 @@ void
|
||||
nsGlobalWindow::SetActive(bool aActive)
|
||||
{
|
||||
nsPIDOMWindow::SetActive(aActive);
|
||||
if (mDoc) {
|
||||
if (MOZ_LIKELY(mDoc)) {
|
||||
NotifyDocumentTree(mDoc, nullptr);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user