| Index: Source/core/paint/MultiColumnSetPainter.cpp
|
| diff --git a/Source/core/paint/MultiColumnSetPainter.cpp b/Source/core/paint/MultiColumnSetPainter.cpp
|
| index ad32ee3feab2784f68e20851b112d214c839011b..759ef1335876a10ff27d90b370ae12980de5741f 100644
|
| --- a/Source/core/paint/MultiColumnSetPainter.cpp
|
| +++ b/Source/core/paint/MultiColumnSetPainter.cpp
|
| @@ -51,11 +51,12 @@ void MultiColumnSetPainter::paintColumnRules(const PaintInfo& paintInfo, const L
|
| if (colCount <= 1)
|
| return;
|
|
|
| + if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*paintInfo.context, m_layoutMultiColumnSet, DisplayItem::ColumnRules))
|
| + return;
|
| +
|
| LayoutRect paintRect = m_layoutMultiColumnSet.visualOverflowRect();
|
| paintRect.moveBy(paintOffset);
|
| LayoutObjectDrawingRecorder drawingRecorder(*paintInfo.context, m_layoutMultiColumnSet, DisplayItem::ColumnRules, paintRect);
|
| - if (drawingRecorder.canUseCachedDrawing())
|
| - return;
|
|
|
| bool antialias = BoxPainter::shouldAntialiasLines(paintInfo.context);
|
| bool leftToRight = m_layoutMultiColumnSet.style()->isLeftToRightDirection();
|
|
|