Index: Source/core/frame/FrameView.cpp |
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp |
index 055dc003990c16754a31d390ba5aa50fb153c637..4b82874aa63f08a6a8bd068915c4efd747c98de5 100644 |
--- a/Source/core/frame/FrameView.cpp |
+++ b/Source/core/frame/FrameView.cpp |
@@ -995,6 +995,9 @@ void FrameView::invalidateTreeIfNeeded() |
#ifndef NDEBUG |
renderView()->assertSubtreeClearedPaintInvalidationState(); |
#endif |
+ |
+ if (m_frame->selection().isCaretBoundsDirty()) |
+ m_frame->selection().invalidateCaretRect(); |
} |
DocumentLifecycle& FrameView::lifecycle() const |