mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1156011 - Mark nsINode::mFirstChild as MOZ_NON_OWNING_REF; r=baku
This commit is contained in:
parent
8c5211c28d
commit
c80d4cbcc2
@ -1980,7 +1980,10 @@ private:
|
||||
protected:
|
||||
nsIContent* mNextSibling;
|
||||
nsIContent* mPreviousSibling;
|
||||
nsIContent* mFirstChild;
|
||||
// This reference is non-owning and safe, since in the case of documents,
|
||||
// it is set to null when the document gets destroyed, and in the case of
|
||||
// other nodes, the children keep the parents alive.
|
||||
nsIContent* MOZ_NON_OWNING_REF mFirstChild;
|
||||
|
||||
union {
|
||||
// Pointer to our primary frame. Might be null.
|
||||
|
Loading…
Reference in New Issue
Block a user