Bug 929484 - Remove nsTableBorderBackground displayitem and nsTablePainter. r=mstange

MozReview-Commit-ID: 1HmfGyBqWnf
This commit is contained in:
Morris Tseng
2017-05-04 17:32:08 +08:00
parent c7ae09f56f
commit e6760ea6c7
12 changed files with 0 additions and 1161 deletions

View File

@@ -12,7 +12,6 @@
#include "nsTableColFrame.h"
#include "nsTableRowFrame.h"
#include "nsTableRowGroupFrame.h"
#include "nsTablePainter.h"
#include "nsStyleContext.h"
#include "nsStyleConsts.h"
#include "nsPresContext.h"
@@ -386,19 +385,6 @@ nsTableCellFrame::PaintBackground(nsRenderingContext& aRenderingContext,
return nsCSSRendering::PaintStyleImageLayer(params, aRenderingContext);
}
// Called by nsTablePainter
DrawResult
nsTableCellFrame::PaintCellBackground(nsRenderingContext& aRenderingContext,
const nsRect& aDirtyRect, nsPoint aPt,
uint32_t aFlags)
{
if (!StyleVisibility()->IsVisible()) {
return DrawResult::SUCCESS;
}
return PaintBackground(aRenderingContext, aDirtyRect, aPt, aFlags);
}
nsresult
nsTableCellFrame::ProcessBorders(nsTableFrame* aFrame,
nsDisplayListBuilder* aBuilder,