check in for rpotts bug#82244

when we do meta charset reload, load it from cache by using the same load flag history using.
author=rpotts r=radha/adamlock sr=vidur a=chofmann


git-svn-id: svn://10.0.0.236/trunk@97706 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ftang%netscape.com
2001-06-22 00:54:27 +00:00
parent f78f6b1ac0
commit 63acb43ea5
2 changed files with 12 additions and 6 deletions

View File

@@ -629,7 +629,8 @@ nsWebShell::ReloadDocument(const char* aCharset,
muDV->SetHintCharacterSet(NS_ConvertASCIItoUCS2(aCharset).GetUnicode());
muDV->SetHintCharacterSetSource((PRInt32)aSource);
mCharsetReloadState = eCharsetReloadRequested;
return Reload(LOAD_FLAGS_NONE);
// XXX: LOAD_HISTORY really means load from cache...
return Reload(LOAD_HISTORY);
}
}
}