summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/Scrollbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/Scrollbar.cpp')
-rw-r--r--Source/WebCore/platform/Scrollbar.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/WebCore/platform/Scrollbar.cpp b/Source/WebCore/platform/Scrollbar.cpp
index 5d9a43d..ba00ab0 100644
--- a/Source/WebCore/platform/Scrollbar.cpp
+++ b/Source/WebCore/platform/Scrollbar.cpp
@@ -433,6 +433,11 @@ void Scrollbar::setEnabled(bool e)
invalidate();
}
+bool Scrollbar::isOverlayScrollbar() const
+{
+ return m_theme->usesOverlayScrollbars();
+}
+
bool Scrollbar::isWindowActive() const
{
return m_scrollableArea && m_scrollableArea->isActive();