Bug 1167588 - Mark Rule::mParentRule as MOZ_NON_OWNING_REF. r=dbaron

--HG--
extra : rebase_source : 511e42982b47f8516240cbb82d7fa2b21fb99e2e
This commit is contained in:
Michael Layzell 2015-05-22 07:00:00 +02:00
parent 38ffe863a9
commit 3fe7053458

View File

@ -134,7 +134,9 @@ protected:
// This is either a CSSStyleSheet* or an nsHTMLStyleSheet*. The former // This is either a CSSStyleSheet* or an nsHTMLStyleSheet*. The former
// if the low bit is 0, the latter if the low bit is 1. // if the low bit is 0, the latter if the low bit is 1.
uintptr_t mSheet; uintptr_t mSheet;
GroupRule* mParentRule; // When the parent GroupRule is destroyed, it will call SetParentRule(nullptr)
// on this object. (Through SetParentRuleReference);
GroupRule* MOZ_NON_OWNING_REF mParentRule;
// Keep the same type so that MSVC packs them. // Keep the same type so that MSVC packs them.
uint32_t mLineNumber; uint32_t mLineNumber;