| Index: third_party/WebKit/Source/core/frame/FrameView.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| index 9d353189efb8d043a67ef5c640bd8b363b04f933..c928db56e8d3aa90af75949a9e5d9056d07c20ba 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -1319,8 +1319,7 @@ void FrameView::invalidatePaintIfNeeded(
|
| if (!RuntimeEnabledFeatures::rootLayerScrollingEnabled())
|
| invalidatePaintOfScrollControlsIfNeeded(paintInvalidationState);
|
|
|
| - if (m_frame->selection().isCaretBoundsDirty())
|
| - m_frame->selection().invalidateCaretRect();
|
| + m_frame->selection().invalidateCaretRect();
|
| }
|
|
|
| void FrameView::setNeedsPaintPropertyUpdate() {
|
| @@ -2425,8 +2424,7 @@ void FrameView::performPostLayoutTasks() {
|
|
|
| m_postLayoutTasksTimer.stop();
|
|
|
| - m_frame->selection().setCaretRectNeedsUpdate();
|
| - m_frame->selection().updateAppearance();
|
| + m_frame->selection().didLayout();
|
|
|
| ASSERT(m_frame->document());
|
|
|
|
|