Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(756)

Unified Diff: Source/core/editing/FrameSelection.cpp

Issue 792233004: Invalidate Custom Scrollbars irrespective of focused frame. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: addressed review comments Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698