Bug 929484 - Remove nsTableBorderBackground displayitem and nsTablePainter. r=mstange
MozReview-Commit-ID: 1HmfGyBqWnf
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user