Index: Source/core/layout/line/RootInlineBox.cpp |
diff --git a/Source/core/layout/line/RootInlineBox.cpp b/Source/core/layout/line/RootInlineBox.cpp |
index aae81d3d5aa19b73eeada1bb29d5572c81f4244c..b4c3c2158c027f61bc6aa188e2413e03a27a0482 100644 |
--- a/Source/core/layout/line/RootInlineBox.cpp |
+++ b/Source/core/layout/line/RootInlineBox.cpp |
@@ -318,7 +318,7 @@ GapRects RootInlineBox::lineSelectionGap(const LayoutBlock* rootBlock, const Lay |
LayoutRect gapRect = rootBlock->logicalRectToPhysicalRect(rootBlockPhysicalPosition, logicalRect); |
if (isPreviousBoxSelected && gapRect.width() > 0 && gapRect.height() > 0) { |
if (paintInfo && box->parent()->lineLayoutItem().style()->visibility() == VISIBLE) |
- paintInfo->context->fillRect(gapRect, box->parent()->lineLayoutItem().selectionBackgroundColor()); |
+ paintInfo->context->fillRect(FloatRect(gapRect), box->parent()->lineLayoutItem().selectionBackgroundColor()); |
// VisibleSelection may be non-contiguous, see comment above. |
result.uniteCenter(gapRect); |
} |