Index: Source/core/rendering/RenderTable.cpp |
diff --git a/Source/core/rendering/RenderTable.cpp b/Source/core/rendering/RenderTable.cpp |
index e898b39388d5d85afff9b84b00c13d4d2e778ed9..b4351f507b718c74625bd21a8a748be93238c723 100644 |
--- a/Source/core/rendering/RenderTable.cpp |
+++ b/Source/core/rendering/RenderTable.cpp |
@@ -65,6 +65,7 @@ RenderTable::RenderTable(Element* element) |
, m_vSpacing(0) |
, m_borderStart(0) |
, m_borderEnd(0) |
+ , m_boxPainter(*this) |
{ |
ASSERT(!childrenInline()); |
m_columnPos.fill(0, 1); |
@@ -709,7 +710,7 @@ void RenderTable::paintBoxDecorationBackground(PaintInfo& paintInfo, const Layou |
LayoutRect rect(paintOffset, size()); |
subtractCaptionRect(rect); |
- paintBoxDecorationBackgroundWithRect(paintInfo, paintOffset, rect); |
+ m_boxPainter.paintBoxDecorationBackgroundWithRect(paintInfo, paintOffset, rect); |
} |
void RenderTable::paintMask(PaintInfo& paintInfo, const LayoutPoint& paintOffset) |
@@ -720,7 +721,7 @@ void RenderTable::paintMask(PaintInfo& paintInfo, const LayoutPoint& paintOffset |
LayoutRect rect(paintOffset, size()); |
subtractCaptionRect(rect); |
- paintMaskImages(paintInfo, rect); |
+ m_boxPainter.paintMaskImages(paintInfo, rect); |
} |
void RenderTable::computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit& maxWidth) const |