Fix for bug # 51564 r=valeski

git-svn-id: svn://10.0.0.236/trunk@178060 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
radha%netscape.com 2005-08-18 11:15:38 +00:00
parent c17562f4c2
commit 04d2c6405b

View File

@ -97,8 +97,19 @@ nsSHTransaction::SetNext(nsISHTransaction * aNext)
{
if(mNext)
{
/* We do not want to maintain the previous traversals
* and make SessionHistory grow unboundewd for the
* seamonkey release. We will let go off
* all previous traversals. However, based on a pref
* previous traversals can be maintained. The Pref
* work will be done at a future date.Commenting off
* the following lines will delete previous traversals
*/
#if 0
// There is already a child. Move the child to the LRV list
mLRVList = mNext;
#endif
}
NS_ENSURE_SUCCESS(aNext->SetPrev(this), NS_ERROR_FAILURE);