зеркало из https://github.com/mozilla/pjs.git
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.
This commit is contained in:
Родитель
6b24931ade
Коммит
6a8b242fdb
|
@ -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)) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче