From ceba0db26ed28c6d5f77655a97b53dfda9e155bd Mon Sep 17 00:00:00 2001 From: trav90 Date: Tue, 7 Feb 2017 17:50:59 -0600 Subject: [PATCH] Use nsRefPtr in Element::InsertAdjacentTest --- dom/base/Element.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/base/Element.cpp b/dom/base/Element.cpp index 3f72e96956..996bde50df 100644 --- a/dom/base/Element.cpp +++ b/dom/base/Element.cpp @@ -3421,7 +3421,7 @@ void Element::InsertAdjacentText( const nsAString& aWhere, const nsAString& aData, ErrorResult& aError) { - RefPtr textNode = OwnerDoc()->CreateTextNode(aData); + nsRefPtr textNode = OwnerDoc()->CreateTextNode(aData); InsertAdjacent(aWhere, textNode, aError); }