| Index: Source/core/editing/FrameSelection.cpp
|
| diff --git a/Source/core/editing/FrameSelection.cpp b/Source/core/editing/FrameSelection.cpp
|
| index 86c6ce0ffcb63657e3bb1f4b08c81c48808427bb..a2181cbb368543158ceaa8aa66d1e8733ac2d70e 100644
|
| --- a/Source/core/editing/FrameSelection.cpp
|
| +++ b/Source/core/editing/FrameSelection.cpp
|
| @@ -1464,7 +1464,7 @@ void FrameSelection::focusedOrActiveStateChanged()
|
| bool activeAndFocused = isFocusedAndActive();
|
|
|
| RefPtrWillBeRawPtr<Document> document = m_frame->document();
|
| - document->updateRenderTreeIfNeeded();
|
| + document->updateRenderTreeOnFocusChanged();
|
|
|
| // Because RenderObject::selectionBackgroundColor() and
|
| // RenderObject::selectionForegroundColor() check if the frame is active,
|
|
|