Index: Source/core/paint/BlockFlowPainter.cpp |
diff --git a/Source/core/paint/BlockFlowPainter.cpp b/Source/core/paint/BlockFlowPainter.cpp |
index 33f2295ac25315789b25628200044c1c8a071156..ebdd561c8eec5f13ce2ae4cee0188fd7918e67c8 100644 |
--- a/Source/core/paint/BlockFlowPainter.cpp |
+++ b/Source/core/paint/BlockFlowPainter.cpp |
@@ -68,7 +68,7 @@ void BlockFlowPainter::paintSelection(const PaintInfo& paintInfo, const LayoutPo |
Optional<DrawingRecorder> drawingRecorder; |
Optional<ClipScope> clipScope; |
if (!skipRecording) { |
- drawingRecorder.emplace(*paintInfo.context, m_layoutBlockFlow, DisplayItem::SelectionGap, bounds); |
+ drawingRecorder.emplace(*paintInfo.context, m_layoutBlockFlow, DisplayItem::SelectionGap, FloatRect(bounds)); |
clipScope.emplace(paintInfo.context); |
} |