diff options
author | Olli Pettay <Olli.Pettay@helsinki.fi> | 2019-03-21 09:02:04 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-03-21 09:02:04 +0100 |
commit | ce3a4fd20ab600f926cd95a9e5558d691beaa47d (patch) | |
tree | 3e9f643bc3cef8f9aefe74beb0bf2a7cbae6867b /dom/html/HTMLTableSectionElement.cpp | |
parent | be7d36fd0ebe8ef82c8974e19ecaa285d58e05a2 (diff) | |
download | aura-central-ce3a4fd20ab600f926cd95a9e5558d691beaa47d.tar.gz |
Remove harmless assertions by using IgnoredErrorResult.
Diffstat (limited to 'dom/html/HTMLTableSectionElement.cpp')
-rw-r--r-- | dom/html/HTMLTableSectionElement.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<nsINode> row = rows->Item(refIndex); if (!row) { aError.Throw(NS_ERROR_DOM_INDEX_SIZE_ERR); return; |