Index: Source/core/frame/FrameView.cpp |
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp |
index c4c6460e3441d9df4dd5fad41b9874b01269a1dd..3dbec094f0e94747e9fccaed967dee97208a9102 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 |