mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1156010 - Mark nsINode::mParent as MOZ_OWNING_REF; r=smaug
This commit is contained in:
parent
7dd975f78d
commit
7a0fb16be0
@ -1971,7 +1971,10 @@ protected:
|
||||
|
||||
nsRefPtr<mozilla::dom::NodeInfo> mNodeInfo;
|
||||
|
||||
nsINode* mParent;
|
||||
// mParent is an owning ref most of the time, except for the case of document
|
||||
// nodes, so it cannot be represented by nsCOMPtr, so mark is as
|
||||
// MOZ_OWNING_REF.
|
||||
nsINode* MOZ_OWNING_REF mParent;
|
||||
|
||||
private:
|
||||
// Boolean flags.
|
||||
|
Loading…
Reference in New Issue
Block a user