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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 1424983002: Invalidate scrollbars when window activity changes if needed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months 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: third_party/WebKit/Source/core/frame/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index 8b43865107c3c03ed3f4aef590f6580215115b9a..449b2cec8e5575002987d3ca0dd4cdce59a6dc40 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -345,6 +345,8 @@ void FrameView::invalidateAllCustomScrollbarsOnActiveChanged()
toFrameView(widget)->invalidateAllCustomScrollbarsOnActiveChanged();
else if (usesWindowInactiveSelector && widget->isScrollbar() && toScrollbar(widget)->isCustomScrollbar())
toScrollbar(widget)->styleChanged();
+ if (widget->isScrollbar())
+ toScrollbar(widget)->windowActiveChanged();
}
if (usesWindowInactiveSelector)
recalculateCustomScrollbarStyle();

Powered by Google App Engine
This is Rietveld 408576698