Index: Source/core/editing/FrameSelection.cpp |
diff --git a/Source/core/editing/FrameSelection.cpp b/Source/core/editing/FrameSelection.cpp |
index f497ad9d995889ab29a3aa8445c5c8450307ce0d..6d62f83e612f860a940eec751a77f37cf742dd54 100644 |
--- a/Source/core/editing/FrameSelection.cpp |
+++ b/Source/core/editing/FrameSelection.cpp |
@@ -1464,11 +1464,6 @@ void FrameSelection::focusedOrActiveStateChanged() |
bool activeAndFocused = isFocusedAndActive(); |
RefPtrWillBeRawPtr<Document> document = m_frame->document(); |
- // Invalidate All CustomScrollbars as CustomScrollbars supports |
- // CSS window-active attribute. |
- if (FrameView* view = document->view()) |
- view->invalidateAllCustomScrollbarsOnActiveChanged(); |
- |
document->updateRenderTreeIfNeeded(); |
// Because RenderObject::selectionBackgroundColor() and |