| Index: Source/core/paint/TablePainter.cpp
|
| diff --git a/Source/core/paint/TablePainter.cpp b/Source/core/paint/TablePainter.cpp
|
| index 8055e75342aeac021c918b0de244e1d820894c48..29d6f5c1c5bad02aa651dafa877bd81c487e3d41 100644
|
| --- a/Source/core/paint/TablePainter.cpp
|
| +++ b/Source/core/paint/TablePainter.cpp
|
| @@ -42,8 +42,8 @@ void TablePainter::paintObject(const PaintInfo& paintInfo, const LayoutPoint& pa
|
| info.updatePaintingRootForChildren(&m_layoutTable);
|
|
|
| for (LayoutObject* child = m_layoutTable.firstChild(); child; child = child->nextSibling()) {
|
| - if (child->isBox() && !toRenderBox(child)->hasSelfPaintingLayer() && (child->isTableSection() || child->isTableCaption())) {
|
| - LayoutPoint childPoint = m_layoutTable.flipForWritingModeForChild(toRenderBox(child), paintOffset);
|
| + if (child->isBox() && !toLayoutBox(child)->hasSelfPaintingLayer() && (child->isTableSection() || child->isTableCaption())) {
|
| + LayoutPoint childPoint = m_layoutTable.flipForWritingModeForChild(toLayoutBox(child), paintOffset);
|
| child->paint(info, childPoint);
|
| }
|
| }
|
|
|