Remove harmless assertions by using IgnoredErrorResult.

This commit is contained in:
Olli Pettay
2019-03-21 09:02:04 +01:00
committed by wolfbeast
parent a36c3f69c8
commit 85e33523c3
2 changed files with 7 additions and 10 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ 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;