Bug 676048: Followup to add more comments.

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

View File

@ -141,10 +141,14 @@ struct RuleValue : RuleSelectorPair {
// Uses any of the sets of ops below.
struct RuleHashTableEntry : public PLDHashEntryHdr {
// If you add members that have heap allocated memory be sure to change the
// logic in RuleHashTableSizeOfEnumerator.
nsTArray<RuleValue> mRules;
};
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;
};