Index: third_party/WebKit/Source/platform/scroll/Scrollbar.cpp |
diff --git a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp |
index d97cfd6ca2e8502002fd9923cd507415c0f1458e..de7566b88376827d2a743b8f4fbf9d3fa88843a5 100644 |
--- a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp |
+++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp |
@@ -505,6 +505,12 @@ bool Scrollbar::shouldParticipateInHitTesting() |
return m_scrollableArea->scrollAnimator()->shouldScrollbarParticipateInHitTesting(this); |
} |
+void Scrollbar::windowActiveChanged() |
+{ |
+ if (m_theme && m_theme->invalidateOnWindowActiveChange()) |
+ invalidate(); |
+} |
+ |
bool Scrollbar::isWindowActive() const |
{ |
return m_scrollableArea && m_scrollableArea->isActive(); |