From 85e33523c3683fdb8a3fd45f8c317fb30d8ca8a4 Mon Sep 17 00:00:00 2001 From: Olli Pettay Date: Thu, 21 Mar 2019 09:02:04 +0100 Subject: Remove harmless assertions by using IgnoredErrorResult. --- dom/html/HTMLTableSectionElement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dom/html/HTMLTableSectionElement.cpp') diff --git a/dom/html/HTMLTableSectionElement.cpp b/dom/html/HTMLTableSectionElement.cpp index c7b0665dd..e99597636 100644 --- a/dom/html/HTMLTableSectionElement.cpp +++ b/dom/html/HTMLTableSectionElement.cpp @@ -122,7 +122,7 @@ HTMLTableSectionElement::DeleteRow(int32_t aValue, ErrorResult& aError) refIndex = (uint32_t)aValue; } - nsINode* row = rows->Item(refIndex); + nsCOMPtr row = rows->Item(refIndex); if (!row) { aError.Throw(NS_ERROR_DOM_INDEX_SIZE_ERR); return; -- cgit v1.2.3