315940 fix a crash in nsNavHistoryResultNode::GetParent by initializing mParent to nsnull in ctor, along with a few other vars that are unusued. r=brettw

Original committer: beng%bengoodger.com
Original revision: 1.9
Original date: 2005/11/28 23:15:17
This commit is contained in:
benjamin%smedbergs.us 2006-07-18 18:10:38 +00:00
Родитель ff24f0d2e9
Коммит d903c8348b
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -85,7 +85,8 @@ inline PRInt32 CompareIntegers(PRUint32 a, PRUint32 b)
NS_IMPL_ISUPPORTS2(nsNavHistoryResultNode,
nsNavHistoryResultNode, nsINavHistoryResultNode)
nsNavHistoryResultNode::nsNavHistoryResultNode() : mID(0), mExpanded(PR_FALSE)
nsNavHistoryResultNode::nsNavHistoryResultNode() : mID(0), mExpanded(PR_FALSE),
mParent(nsnull), mAccessCount(0), mTime(0)
{
}