Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit bbfdc2d

Browse files
Olli PettayOlli Pettay
authored andcommitted
Bug 865076, follow the XPCOM rules when using parent pointer, r=mccr8
--HG-- extra : rebase_source : c4d45f53bb15df09495714cb0955e3d2d9c684b6
1 parent ebbca60 commit bbfdc2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/base/src/nsINode.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1396,7 +1396,7 @@ nsINode::doInsertChildAt(nsIContent* aKid, uint32_t aIndex,
13961396
void
13971397
nsINode::Remove()
13981398
{
1399-
nsINode* parent = GetParentNode();
1399+
nsCOMPtr<nsINode> parent = GetParentNode();
14001400
if (!parent) {
14011401
return;
14021402
}

0 commit comments

Comments
 (0)