mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1156006 - Mark NodeInfo::mDocument as MOZ_NON_OWNING_REF; r=baku
This commit is contained in:
parent
2e96474ced
commit
d9fc81c465
@ -276,7 +276,9 @@ protected:
|
||||
// nsNodeInfoManager needs to pass mInner to the hash table.
|
||||
friend class ::nsNodeInfoManager;
|
||||
|
||||
nsIDocument* mDocument; // Weak. Cache of mOwnerManager->mDocument
|
||||
// This is a non-owning reference, but it's safe since it's set to nullptr
|
||||
// by nsNodeInfoManager::DropDocumentReference when the document is destroyed.
|
||||
nsIDocument* MOZ_NON_OWNING_REF mDocument; // Cache of mOwnerManager->mDocument
|
||||
|
||||
NodeInfoInner mInner;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user