Index: Source/core/editing/Caret.cpp |
diff --git a/Source/core/editing/Caret.cpp b/Source/core/editing/Caret.cpp |
index 3270c071727a1535d080b73d1bc782e61f96af82..ced12cd130d52d36954a5da633a43799d805a099 100644 |
--- a/Source/core/editing/Caret.cpp |
+++ b/Source/core/editing/Caret.cpp |
@@ -197,7 +197,7 @@ void CaretBase::paintCaret(Node* node, GraphicsContext* context, const LayoutPoi |
if (element && element->layoutObject()) |
caretColor = element->layoutObject()->resolveColor(CSSPropertyColor); |
- context->fillRect(caret, caretColor); |
+ context->fillRect(FloatRect(caret), caretColor); |
} |
} // namespace blink |