Index: Source/core/paint/PartPainter.cpp |
diff --git a/Source/core/paint/PartPainter.cpp b/Source/core/paint/PartPainter.cpp |
index 8eba600cf3bd8803d8cdc048a2f848ac0a0a21e4..a5df710579188c117c6e4e4632d05beab49722e9 100644 |
--- a/Source/core/paint/PartPainter.cpp |
+++ b/Source/core/paint/PartPainter.cpp |
@@ -67,7 +67,7 @@ void PartPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintOffs |
LayoutRect rect = m_layoutPart.localSelectionRect(); |
rect.moveBy(adjustedPaintOffset); |
IntRect selectionRect = pixelSnappedIntRect(rect); |
- LayoutObjectDrawingRecorder drawingRecorder(*paintInfo.context, m_layoutPart, paintInfo.phase, selectionRect); |
+ LayoutObjectDrawingRecorder drawingRecorder(*paintInfo.context, m_layoutPart, paintInfo.phase, LayoutRect(selectionRect)); |
paintInfo.context->fillRect(selectionRect, m_layoutPart.selectionBackgroundColor()); |
} |