summaryrefslogtreecommitdiffstats
path: root/dom/html/HTMLTableSectionElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/HTMLTableSectionElement.cpp')
-rw-r--r--dom/html/HTMLTableSectionElement.cpp2
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;