| Index: Source/core/paint/FieldsetPainter.cpp
|
| diff --git a/Source/core/paint/FieldsetPainter.cpp b/Source/core/paint/FieldsetPainter.cpp
|
| index fcbdf8b16b33274fda85ac212f99580a860c9d4e..8c2b20b4b3eae5af03cae4701850ef0b96fc53c2 100644
|
| --- a/Source/core/paint/FieldsetPainter.cpp
|
| +++ b/Source/core/paint/FieldsetPainter.cpp
|
| @@ -24,7 +24,7 @@ void FieldsetPainter::paintBoxDecorationBackground(const PaintInfo& paintInfo, c
|
| if (!legend)
|
| return BoxPainter(m_layoutFieldset).paintBoxDecorationBackground(paintInfo, paintOffset);
|
|
|
| - if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*paintInfo.context, m_layoutFieldset, paintInfo.phase))
|
| + if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*paintInfo.context, m_layoutFieldset, paintInfo.phase, paintOffset))
|
| return;
|
|
|
| // FIXME: We need to work with "rl" and "bt" block flow directions. In those
|
| @@ -40,7 +40,7 @@ void FieldsetPainter::paintBoxDecorationBackground(const PaintInfo& paintInfo, c
|
| paintRect.setX(paintRect.x() + xOff);
|
| }
|
|
|
| - LayoutObjectDrawingRecorder recorder(*paintInfo.context, m_layoutFieldset, paintInfo.phase, pixelSnappedIntRect(paintRect));
|
| + LayoutObjectDrawingRecorder recorder(*paintInfo.context, m_layoutFieldset, paintInfo.phase, pixelSnappedIntRect(paintRect), paintOffset);
|
| BoxDecorationData boxDecorationData(m_layoutFieldset);
|
|
|
| if (boxDecorationData.bleedAvoidance == BackgroundBleedNone)
|
| @@ -81,7 +81,7 @@ void FieldsetPainter::paintMask(const PaintInfo& paintInfo, const LayoutPoint& p
|
| if (!legend)
|
| return BoxPainter(m_layoutFieldset).paintMask(paintInfo, paintOffset);
|
|
|
| - if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*paintInfo.context, m_layoutFieldset, paintInfo.phase))
|
| + if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*paintInfo.context, m_layoutFieldset, paintInfo.phase, paintOffset))
|
| return;
|
|
|
| // FIXME: We need to work with "rl" and "bt" block flow directions. In those
|
| @@ -97,7 +97,7 @@ void FieldsetPainter::paintMask(const PaintInfo& paintInfo, const LayoutPoint& p
|
| paintRect.move(xOff, 0);
|
| }
|
|
|
| - LayoutObjectDrawingRecorder recorder(*paintInfo.context, m_layoutFieldset, paintInfo.phase, paintRect);
|
| + LayoutObjectDrawingRecorder recorder(*paintInfo.context, m_layoutFieldset, paintInfo.phase, paintRect, paintOffset);
|
| BoxPainter(m_layoutFieldset).paintMaskImages(paintInfo, paintRect);
|
| }
|
|
|
|
|