Bug 699383 - Remove unused 'aboveTextDecorations'. r=roc

This commit is contained in:
Mats Palmgren 2011-11-04 19:05:35 +01:00
parent d22d7ad163
commit 5fc1c83bab

View File

@ -6122,7 +6122,6 @@ DisplayLine(nsDisplayListBuilder* aBuilder, const nsRect& aLineArea,
nsDisplayListCollection collection;
nsresult rv;
nsDisplayList aboveTextDecorations;
// Block-level child backgrounds go on the blockBorderBackgrounds list ...
// Inline-level child backgrounds go on the regular child content list.
@ -6137,8 +6136,6 @@ DisplayLine(nsDisplayListBuilder* aBuilder, const nsRect& aLineArea,
kid = kid->GetNextSibling();
}
collection.Content()->AppendToTop(&aboveTextDecorations);
if (lineMayHaveTextOverflow) {
aTextOverflow->ProcessLine(collection, aLine.get());
}