| Index: Source/core/rendering/RenderTableCell.cpp
|
| diff --git a/Source/core/rendering/RenderTableCell.cpp b/Source/core/rendering/RenderTableCell.cpp
|
| index 7c80ef0384ca6600ea0928bde16f079045b28a31..e861b06ca877080d9f0c81a97e618649567a253b 100644
|
| --- a/Source/core/rendering/RenderTableCell.cpp
|
| +++ b/Source/core/rendering/RenderTableCell.cpp
|
| @@ -1142,7 +1142,7 @@ void RenderTableCell::paintCollapsedBorders(PaintInfo& paintInfo, const LayoutPo
|
| borders.addBorder(rightVal, BSRight, renderRight, borderRect.maxX() - rightWidth, borderRect.y(), borderRect.maxX(), borderRect.maxY(), rightStyle);
|
|
|
| GraphicsContext* graphicsContext = paintInfo.context;
|
| - bool antialias = shouldAntialiasLines(graphicsContext);
|
| + bool antialias = BoxPainter::shouldAntialiasLines(graphicsContext);
|
|
|
| for (CollapsedBorder* border = borders.nextBorder(); border; border = borders.nextBorder()) {
|
| if (border->borderValue.isSameIgnoringColor(*table()->currentBorderValue())) {
|
| @@ -1197,18 +1197,20 @@ void RenderTableCell::paintBoxDecorationBackground(PaintInfo& paintInfo, const L
|
| if (!tableElt->collapseBorders() && style()->emptyCells() == HIDE && !firstChild())
|
| return;
|
|
|
| + BoxPainter boxPainter(*this);
|
| +
|
| LayoutRect paintRect = LayoutRect(paintOffset, pixelSnappedSize());
|
| - paintBoxShadow(paintInfo, paintRect, style(), Normal);
|
| + boxPainter.paintBoxShadow(paintInfo, paintRect, style(), Normal);
|
|
|
| // Paint our cell background.
|
| paintBackgroundsBehindCell(paintInfo, paintOffset, this);
|
|
|
| - paintBoxShadow(paintInfo, paintRect, style(), Inset);
|
| + boxPainter.paintBoxShadow(paintInfo, paintRect, style(), Inset);
|
|
|
| if (!style()->hasBorder() || tableElt->collapseBorders())
|
| return;
|
|
|
| - paintBorder(paintInfo, paintRect, style());
|
| + boxPainter.paintBorder(paintInfo, paintRect, style());
|
| }
|
|
|
| void RenderTableCell::paintMask(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
|
|
|