#402: M1355039, tune up M1356755

This commit is contained in:
Cameron Kaiser
2017-05-29 20:21:49 -07:00
parent d16728f384
commit 4e9af1b2f2
2 changed files with 9 additions and 4 deletions
+8 -3
View File
@@ -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