зеркало из https://github.com/mozilla/gecko-dev.git
Fixing bug 96489. tablerow.insertCell() not returning cell object, patch by Fabian <hidday@geocities.com>, r=peterv@netscape.com, sr=jst@netscape.com, a=blizzard@mozilla.org
This commit is contained in:
Родитель
e6e1a23c75
Коммит
a3f647e9b1
|
@ -454,8 +454,6 @@ nsHTMLTableRowElement::InsertCell(PRInt32 aIndex, nsIDOMHTMLElement** aValue)
|
||||||
|
|
||||||
cells->Item(refIndex, getter_AddRefs(refCell));
|
cells->Item(refIndex, getter_AddRefs(refCell));
|
||||||
|
|
||||||
nsCOMPtr<nsIDOMNode> retChild;
|
|
||||||
|
|
||||||
rv = InsertBefore(cellNode, refCell, getter_AddRefs(retChild));
|
rv = InsertBefore(cellNode, refCell, getter_AddRefs(retChild));
|
||||||
} else {
|
} else {
|
||||||
rv = AppendChild(cellNode, getter_AddRefs(retChild));
|
rv = AppendChild(cellNode, getter_AddRefs(retChild));
|
||||||
|
|
Загрузка…
Ссылка в новой задаче