Bug 1122999 - Mark the fOuter member defined by NS_DECL_AGGREGATED as unsafe; r=froydnj

This commit is contained in:
Ehsan Akhgari 2015-01-17 20:15:26 -05:00
Родитель f555db9bc7
Коммит 4f8f88a90d
1 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -63,7 +63,12 @@ private: \
\
friend class Internal; \
\
nsISupports* fOuter; \
nsISupports* MOZ_UNSAFE_REF("fOuter can either point to fAggregated " \
"or to an outer object, and the safety " \
"of this reference depends on the exact " \
"lifetime semantics of the AddRef/Release " \
"functions created by these macros.") \
fOuter; \
Internal fAggregated; \
\
public: \