mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1156009 - Mark nsChildContentList::mNode as MOZ_NON_OWNING_REF; r=baku
This commit is contained in:
parent
d9fc81c465
commit
4cd3da0947
@ -275,8 +275,10 @@ public:
|
|||||||
private:
|
private:
|
||||||
~nsChildContentList() {}
|
~nsChildContentList() {}
|
||||||
|
|
||||||
// The node whose children make up the list (weak reference)
|
// The node whose children make up the list.
|
||||||
nsINode* mNode;
|
// This is a non-owning ref which is safe because it's set to nullptr by
|
||||||
|
// DropReference() by the node slots get destroyed.
|
||||||
|
nsINode* MOZ_NON_OWNING_REF mNode;
|
||||||
};
|
};
|
||||||
|
|
||||||
// This should be used for any nsINode sub-class that has fields of its own
|
// This should be used for any nsINode sub-class that has fields of its own
|
||||||
|
Loading…
Reference in New Issue
Block a user