зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1155471 - Mark some members of nsNodeInfoManager as MOZ_NON_OWNING_REF; r=baku
This commit is contained in:
Родитель
3f3e975f18
Коммит
b4d32bd1d4
|
@ -129,13 +129,13 @@ private:
|
|||
void *arg);
|
||||
|
||||
PLHashTable *mNodeInfoHash;
|
||||
nsIDocument *mDocument; // WEAK
|
||||
nsIDocument * MOZ_NON_OWNING_REF mDocument; // WEAK
|
||||
uint32_t mNonDocumentNodeInfos;
|
||||
nsCOMPtr<nsIPrincipal> mPrincipal; // Never null after Init() succeeds.
|
||||
nsCOMPtr<nsIPrincipal> mDefaultPrincipal; // Never null after Init() succeeds
|
||||
mozilla::dom::NodeInfo *mTextNodeInfo; // WEAK to avoid circular ownership
|
||||
mozilla::dom::NodeInfo *mCommentNodeInfo; // WEAK to avoid circular ownership
|
||||
mozilla::dom::NodeInfo *mDocumentNodeInfo; // WEAK to avoid circular ownership
|
||||
mozilla::dom::NodeInfo * MOZ_NON_OWNING_REF mTextNodeInfo; // WEAK to avoid circular ownership
|
||||
mozilla::dom::NodeInfo * MOZ_NON_OWNING_REF mCommentNodeInfo; // WEAK to avoid circular ownership
|
||||
mozilla::dom::NodeInfo * MOZ_NON_OWNING_REF mDocumentNodeInfo; // WEAK to avoid circular ownership
|
||||
nsRefPtr<nsBindingManager> mBindingManager;
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче