| Index: sky/engine/core/editing/FrameSelection.cpp
|
| diff --git a/sky/engine/core/editing/FrameSelection.cpp b/sky/engine/core/editing/FrameSelection.cpp
|
| index 4d09f7b36b45cec76a70355e7bec50ad80cd7cc9..07c8186eb915821ef8308d6e078d32731a10ea4a 100644
|
| --- a/sky/engine/core/editing/FrameSelection.cpp
|
| +++ b/sky/engine/core/editing/FrameSelection.cpp
|
| @@ -1372,12 +1372,6 @@ void FrameSelection::focusedOrActiveStateChanged()
|
| RefPtr<Document> document = m_frame->document();
|
| document->updateRenderTreeIfNeeded();
|
|
|
| - // Because RenderObject::selectionBackgroundColor() and
|
| - // RenderObject::selectionForegroundColor() check if the frame is active,
|
| - // we have to update places those colors were painted.
|
| - if (RenderView* view = document->renderView())
|
| - view->invalidatePaintForSelection();
|
| -
|
| // Caret appears in the active frame.
|
| if (activeAndFocused)
|
| setSelectionFromNone();
|
|
|