Bug 1123098 - Mark two members of nsCOMPtr_helper classes as non-owning; r=froydnj

This commit is contained in:
Ehsan Akhgari 2015-01-18 13:55:45 -05:00
parent bff7b1f7c4
commit 8fb654f8ea
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ public:
virtual nsresult NS_FASTCALL operator()(const nsIID& aIID, void**) const;
private:
nsIArray* mArray;
nsIArray* MOZ_NON_OWNING_REF mArray;
uint32_t mIndex;
nsresult* mErrorPtr;
};

View File

@ -42,7 +42,7 @@ public:
virtual nsresult NS_FASTCALL operator()(const nsIID& aIID, void**) const;
private:
nsIWeakReference* mWeakPtr;
nsIWeakReference* MOZ_NON_OWNING_REF mWeakPtr;
nsresult* mErrorPtr;
};