Bug 676048: Followup to add more comments.

This commit is contained in:
Kyle Huey
2011-08-08 08:34:57 -04:00
parent e7a9349495
commit bc32c1c3aa

View File

@@ -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;
}; };