Index: Source/core/rendering/RenderTableCell.cpp |
diff --git a/Source/core/rendering/RenderTableCell.cpp b/Source/core/rendering/RenderTableCell.cpp |
index 332dbd89b791570664c29fbe5f2dc298b43e0db7..7c80ef0384ca6600ea0928bde16f079045b28a31 100644 |
--- a/Source/core/rendering/RenderTableCell.cpp |
+++ b/Source/core/rendering/RenderTableCell.cpp |
@@ -28,6 +28,7 @@ |
#include "core/HTMLNames.h" |
#include "core/css/StylePropertySet.h" |
#include "core/html/HTMLTableCellElement.h" |
+#include "core/paint/BoxPainter.h" |
#include "core/rendering/PaintInfo.h" |
#include "core/rendering/RenderTableCol.h" |
#include "core/rendering/RenderView.h" |
@@ -1183,7 +1184,7 @@ void RenderTableCell::paintBackgroundsBehindCell(PaintInfo& paintInfo, const Lay |
width() - borderLeft() - borderRight(), height() - borderTop() - borderBottom()); |
paintInfo.context->clip(clipRect); |
} |
- paintFillLayers(paintInfo, c, bgLayer, LayoutRect(adjustedPaintOffset, pixelSnappedSize()), BackgroundBleedNone, CompositeSourceOver, backgroundObject); |
+ BoxPainter(*this).paintFillLayers(paintInfo, c, bgLayer, LayoutRect(adjustedPaintOffset, pixelSnappedSize()), BackgroundBleedNone, CompositeSourceOver, backgroundObject); |
} |
} |
@@ -1219,7 +1220,7 @@ void RenderTableCell::paintMask(PaintInfo& paintInfo, const LayoutPoint& paintOf |
if (!tableElt->collapseBorders() && style()->emptyCells() == HIDE && !firstChild()) |
return; |
- paintMaskImages(paintInfo, LayoutRect(paintOffset, pixelSnappedSize())); |
+ BoxPainter(*this).paintMaskImages(paintInfo, LayoutRect(paintOffset, pixelSnappedSize())); |
} |
bool RenderTableCell::boxShadowShouldBeAppliedToBackground(BackgroundBleedAvoidance, InlineFlowBox*) const |