mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
DOM Inspector bustage fix for bug 474369 r+sr=roc
This commit is contained in:
parent
8a782822cb
commit
e0de92ba08
@ -1046,7 +1046,7 @@ inDOMView::ReplaceNode(inDOMViewNode* aNode, PRInt32 aRow)
|
||||
return;
|
||||
|
||||
delete GetNodeAt(aRow);
|
||||
mNodes.ReplaceElementsAt(aRow, 1, aNode);
|
||||
mNodes.ElementAt(aRow) = aNode;
|
||||
}
|
||||
|
||||
void
|
||||
@ -1101,7 +1101,7 @@ inDOMView::ExpandNode(PRInt32 aRow)
|
||||
|
||||
for (PRInt32 i = 0; i < kidCount; ++i) {
|
||||
newNode = CreateNode(kids[i], node);
|
||||
list.ReplaceElementsAt(i, 1, newNode);
|
||||
list.AppendElement(newNode);
|
||||
|
||||
if (prevNode)
|
||||
prevNode->next = newNode;
|
||||
|
Loading…
Reference in New Issue
Block a user