diff --git a/layout/tables/nsTableFrame.cpp b/layout/tables/nsTableFrame.cpp index 283ff0cb87e..f7b00a7d5d9 100644 --- a/layout/tables/nsTableFrame.cpp +++ b/layout/tables/nsTableFrame.cpp @@ -1440,7 +1440,7 @@ nsTableFrame::DisplayGenericTablePart(nsDisplayListBuilder* aBuilder, // Ensure that the table frame event background goes before the // table rowgroups event backgrounds, before the table row event backgrounds, // before everything else (cells and their blocks) - separatedCollection.BorderBackground()->Sort(CompareByTablePartRank, nsnull); + separatedCollection.BorderBackground()->Sort(aBuilder, CompareByTablePartRank, nsnull); separatedCollection.MoveTo(aLists); }