Bug 676048: Followup to add more comments.
This commit is contained in:
@@ -141,10 +141,14 @@ struct RuleValue : RuleSelectorPair {
|
|||||||
|
|
||||||
// Uses any of the sets of ops below.
|
// Uses any of the sets of ops below.
|
||||||
struct RuleHashTableEntry : public PLDHashEntryHdr {
|
struct RuleHashTableEntry : public PLDHashEntryHdr {
|
||||||
|
// If you add members that have heap allocated memory be sure to change the
|
||||||
|
// logic in RuleHashTableSizeOfEnumerator.
|
||||||
nsTArray<RuleValue> mRules;
|
nsTArray<RuleValue> mRules;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct RuleHashTagTableEntry : public RuleHashTableEntry {
|
struct RuleHashTagTableEntry : public RuleHashTableEntry {
|
||||||
|
// If you add members that have heap allocated memory be sure to change the
|
||||||
|
// logic in RuleHash::SizeOf.
|
||||||
nsCOMPtr<nsIAtom> mTag;
|
nsCOMPtr<nsIAtom> mTag;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user