Followup for Bug 840317: use an unsigned loop variable when iterating up to an unsigned value, to fix warnings-as-errors build error. r=bustage,trivial CLOSED TREE

This commit is contained in:
Daniel Holbert 2013-02-11 17:27:14 -08:00
parent 5bd2aa268a
commit 63ce885d99

View File

@ -128,7 +128,7 @@ nsStyleSet::SizeOfIncludingThis(nsMallocSizeOfFun aMallocSizeOf) const
n += mSheets[i].SizeOfExcludingThis(nullptr, aMallocSizeOf);
}
for (int i = 0; i < mScopedDocSheetRuleProcessors.Length(); i++) {
for (uint32_t i = 0; i < mScopedDocSheetRuleProcessors.Length(); i++) {
n += mScopedDocSheetRuleProcessors[i]->SizeOfIncludingThis(aMallocSizeOf);
}
n += mScopedDocSheetRuleProcessors.SizeOfExcludingThis(aMallocSizeOf);