From 51218360491343fa860024a5a8d830f111403256 Mon Sep 17 00:00:00 2001 From: Kyle Huey Date: Mon, 8 Aug 2011 08:34:57 -0400 Subject: [PATCH] Bug 676048: Followup to add more comments. --- layout/style/nsCSSRuleProcessor.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layout/style/nsCSSRuleProcessor.cpp b/layout/style/nsCSSRuleProcessor.cpp index e8eadfbe676..e05bf44f917 100644 --- a/layout/style/nsCSSRuleProcessor.cpp +++ b/layout/style/nsCSSRuleProcessor.cpp @@ -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 mRules; }; struct RuleHashTagTableEntry : public RuleHashTableEntry { + // If you add members that have heap allocated memory be sure to change the + // logic in RuleHash::SizeOf. nsCOMPtr mTag; };