зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1156011 - Mark nsINode::mFirstChild as MOZ_NON_OWNING_REF; r=baku
This commit is contained in:
Родитель
def99ac384
Коммит
e9aa123252
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче