diff options
author | Olli Pettay <Olli.Pettay@helsinki.fi> | 2019-03-21 09:02:04 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-03-23 01:59:35 +0100 |
commit | 90a44b312f35dc679982d558d18555d69e356ffb (patch) | |
tree | 5f679fb545f111273e3a2545e0b801e1c3676f6d /dom/html/HTMLTableSectionElement.cpp | |
parent | 38986a488b449e9be3467aed701cf5807d5a683c (diff) | |
download | UXP-90a44b312f35dc679982d558d18555d69e356ffb.tar UXP-90a44b312f35dc679982d558d18555d69e356ffb.tar.gz UXP-90a44b312f35dc679982d558d18555d69e356ffb.tar.lz UXP-90a44b312f35dc679982d558d18555d69e356ffb.tar.xz UXP-90a44b312f35dc679982d558d18555d69e356ffb.zip |
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; |