prefWidthIntrinsic = PR_TRUE; prefHeightIntrinsic = PR_TRUE;
nsCalculatedBoxInfo* info = mFirst; while(info) { nsCalculatedBoxInfo* it = info; info = info->next; delete it; } mFirst = nsnull; mLast = nsnull; mCount = 0;
void nsHTMLInfo::Clear(){   prefWidthIntrinsic = PR_TRUE;   prefHeightIntrinsic = PR_TRUE;}