From ba20334bf782edaa3fb2184e3ab7792a21cef983 Mon Sep 17 00:00:00 2001 From: Mats Palmgren Date: Fri, 4 Nov 2011 19:05:35 +0100 Subject: [PATCH] Bug 699383 - Remove unused 'aboveTextDecorations'. r=roc --- layout/generic/nsBlockFrame.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/layout/generic/nsBlockFrame.cpp b/layout/generic/nsBlockFrame.cpp index bf7b9de51ee..560c892c44b 100644 --- a/layout/generic/nsBlockFrame.cpp +++ b/layout/generic/nsBlockFrame.cpp @@ -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()); }