зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
362692e337
Коммит
591abcc892
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче