Chromium Code Reviews| Index: Source/core/paint/FieldsetPainter.cpp |
| diff --git a/Source/core/paint/FieldsetPainter.cpp b/Source/core/paint/FieldsetPainter.cpp |
| index fcbdf8b16b33274fda85ac212f99580a860c9d4e..41834e37800437755bea36e0aa633eabe85e4372 100644 |
| --- a/Source/core/paint/FieldsetPainter.cpp |
| +++ b/Source/core/paint/FieldsetPainter.cpp |
| @@ -40,7 +40,8 @@ void FieldsetPainter::paintBoxDecorationBackground(const PaintInfo& paintInfo, c |
| paintRect.setX(paintRect.x() + xOff); |
| } |
| - LayoutObjectDrawingRecorder recorder(*paintInfo.context, m_layoutFieldset, paintInfo.phase, pixelSnappedIntRect(paintRect)); |
| + // TODO(chrishtr): pixel-snapping here is likely wrong. |
| + LayoutObjectDrawingRecorder recorder(*paintInfo.context, m_layoutFieldset, paintInfo.phase, LayoutRect(pixelSnappedIntRect(paintRect))); |
|
jbroman
2015/08/26 19:06:43
as before, this is currently an IntRect->FloatRect
|
| BoxDecorationData boxDecorationData(m_layoutFieldset); |
| if (boxDecorationData.bleedAvoidance == BackgroundBleedNone) |