Bug 1525145, remove harmless assertions by using IgnoredErrorResult, r=peterv

This commit is contained in:
Olli Pettay
2019-02-13 22:51:10 +02:00
parent 3abafa7f81
commit 01d0ffd97e
2 changed files with 7 additions and 10 deletions

View File

@@ -105,7 +105,7 @@ void HTMLTableSectionElement::DeleteRow(int32_t aValue, ErrorResult& aError) {
refIndex = (uint32_t)aValue;
}
nsINode* row = rows->Item(refIndex);
nsCOMPtr<nsINode> row = rows->Item(refIndex);
if (!row) {
aError.Throw(NS_ERROR_DOM_INDEX_SIZE_ERR);
return;