diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-11-02 23:07:40 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-11-02 23:10:06 +0100 |
commit | 0de40040f006c493feeff7d688c169b904b8a22e (patch) | |
tree | 2a2e856ce590fcea6523f029644d5010da151a47 /layout/tables/nsTableCellFrame.cpp | |
parent | 145527207538b6ee1018cb77e6705912c29f8a9f (diff) | |
download | UXP-0de40040f006c493feeff7d688c169b904b8a22e.tar UXP-0de40040f006c493feeff7d688c169b904b8a22e.tar.gz UXP-0de40040f006c493feeff7d688c169b904b8a22e.tar.lz UXP-0de40040f006c493feeff7d688c169b904b8a22e.tar.xz UXP-0de40040f006c493feeff7d688c169b904b8a22e.zip |
Issue #146 - Part 2: Remove custom table painting component.
Since we're now putting table borders and backgrounds properly in the
display lists, we no longer need this custom component to do this work
for us.
Diffstat (limited to 'layout/tables/nsTableCellFrame.cpp')
-rw-r--r-- | layout/tables/nsTableCellFrame.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/layout/tables/nsTableCellFrame.cpp b/layout/tables/nsTableCellFrame.cpp index bac8d387f..ec9458f76 100644 --- a/layout/tables/nsTableCellFrame.cpp +++ b/layout/tables/nsTableCellFrame.cpp @@ -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" @@ -380,19 +379,6 @@ nsTableCellFrame::PaintBackground(nsRenderingContext& aRenderingContext, return nsCSSRendering::PaintBackground(params); } -// 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, |