Fixing bug 114539. Getting rid of mInner in all our 'data' nodes and making those classes inherit nsGenericDOMDataNode in stead. Also remove mContentID from nsTextNode and push mRangeList and mListenerManager into hashtables since they are used so rarely. This results in a size reduction of nsTextNode from 44 bytes to 28 bytes (~36%). r=peterv@netscape.com, sr=hyatt@netscape.com.

This commit is contained in:
jst%netscape.com 2001-12-16 07:04:44 +00:00
Родитель 362692e337
Коммит 591abcc892
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -1143,7 +1143,7 @@ nsGenericDOMDataNode::SplitText(PRUint32 aOffset, nsIDOMText** aReturn)
return rv;
}
rv = DeleteData(aOffset, length-aOffset);
rv = DeleteData(aOffset, length - aOffset);
if (NS_FAILED(rv)) {
return rv;
}