Index: Source/core/editing/Caret.cpp |
diff --git a/Source/core/editing/Caret.cpp b/Source/core/editing/Caret.cpp |
index 59aca89edd443e02fe72294e6a67419aa5c0b0ba..be729703f023a23b1a241994cc715fd5f1637428 100644 |
--- a/Source/core/editing/Caret.cpp |
+++ b/Source/core/editing/Caret.cpp |
@@ -196,7 +196,7 @@ void CaretBase::repaintCaretForLocalRect(Node* node, const LayoutRect& rect) |
LayoutRect inflatedRect = rect; |
inflatedRect.inflate(1); |
- caretPainter->repaintRectangle(inflatedRect); |
+ caretPainter->invalidatePaintRectangle(inflatedRect); |
} |
bool CaretBase::shouldRepaintCaret(const RenderView* view, bool isContentEditable) const |