| Index: sky/engine/core/editing/FrameSelection.cpp
|
| diff --git a/sky/engine/core/editing/FrameSelection.cpp b/sky/engine/core/editing/FrameSelection.cpp
|
| index 0f59a3234d1f7a908c2b964911e155375286acb1..4d09f7b36b45cec76a70355e7bec50ad80cd7cc9 100644
|
| --- a/sky/engine/core/editing/FrameSelection.cpp
|
| +++ b/sky/engine/core/editing/FrameSelection.cpp
|
| @@ -1200,7 +1200,7 @@ static bool isNonOrphanedCaret(const VisibleSelection& selection)
|
| IntRect FrameSelection::absoluteCaretBounds()
|
| {
|
| ASSERT(m_frame->document()->lifecycle().state() != DocumentLifecycle::InPaintInvalidation);
|
| - m_frame->document()->updateLayoutIgnorePendingStylesheets();
|
| + m_frame->document()->updateLayout();
|
| if (!isNonOrphanedCaret(m_selection)) {
|
| clearCaretRect();
|
| } else {
|
| @@ -1466,7 +1466,7 @@ void FrameSelection::updateAppearance(ResetCaretBlinkOption option)
|
| return;
|
| }
|
|
|
| - m_frame->document()->updateLayoutIgnorePendingStylesheets();
|
| + m_frame->document()->updateLayout();
|
|
|
| // Use the rightmost candidate for the start of the selection, and the leftmost candidate for the end of the selection.
|
| // Example: foo <a>bar</a>. Imagine that a line wrap occurs after 'foo', and that 'bar' is selected. If we pass [foo, 3]
|
| @@ -1627,7 +1627,7 @@ void FrameSelection::setShouldShowBlockCursor(bool shouldShowBlockCursor)
|
| {
|
| m_shouldShowBlockCursor = shouldShowBlockCursor;
|
|
|
| - m_frame->document()->updateLayoutIgnorePendingStylesheets();
|
| + m_frame->document()->updateLayout();
|
|
|
| updateAppearance();
|
| }
|
|
|