From 6a8b242fdb7624deb19095d5bef02fd51f4bed32 Mon Sep 17 00:00:00 2001 From: "tbogard%aol.net" Date: Sat, 1 Apr 2000 00:29:28 +0000 Subject: [PATCH] nsIWebShell now has a new method for this last remaining piece of code that needs to call the loadurl. Converted the load to use that call. --- xpfe/appshell/src/nsSessionHistory.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xpfe/appshell/src/nsSessionHistory.cpp b/xpfe/appshell/src/nsSessionHistory.cpp index daf2fcb2f24..41489cee930 100644 --- a/xpfe/appshell/src/nsSessionHistory.cpp +++ b/xpfe/appshell/src/nsSessionHistory.cpp @@ -589,8 +589,9 @@ nsHistoryEntry::Load(nsIWebShell * aPrevEntry, PRBool aIsReload) { PRUnichar * uniURL = cSURL.ToNewUnicode(); prev->SetURL(uniURL); nsAutoString referrer(mReferrer); - prev->LoadURL(uniURL, nsnull, PR_FALSE, loadType, 0, historyObject, + prev->SessionHistoryInternalLoadURL(uniURL, loadType, historyObject, mReferrer ? referrer.GetUnicode() : nsnull); + Recycle(uniURL); if (aIsReload && (pcount > 0)) {