mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:18:48 +00:00
Use nsRefPtr in Element::InsertAdjacentTest
This commit is contained in:
@@ -3421,7 +3421,7 @@ void
|
||||
Element::InsertAdjacentText(
|
||||
const nsAString& aWhere, const nsAString& aData, ErrorResult& aError)
|
||||
{
|
||||
RefPtr<nsTextNode> textNode = OwnerDoc()->CreateTextNode(aData);
|
||||
nsRefPtr<nsTextNode> textNode = OwnerDoc()->CreateTextNode(aData);
|
||||
InsertAdjacent(aWhere, textNode, aError);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user