mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Bug 1167588 - Mark Rule::mParentRule as MOZ_NON_OWNING_REF. r=dbaron
--HG-- extra : rebase_source : 511e42982b47f8516240cbb82d7fa2b21fb99e2e
This commit is contained in:
parent
38ffe863a9
commit
3fe7053458
@ -134,7 +134,9 @@ protected:
|
||||
// This is either a CSSStyleSheet* or an nsHTMLStyleSheet*. The former
|
||||
// if the low bit is 0, the latter if the low bit is 1.
|
||||
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.
|
||||
uint32_t mLineNumber;
|
||||
|
Loading…
Reference in New Issue
Block a user