Index: Source/platform/scroll/ScrollbarThemeAura.cpp |
diff --git a/Source/platform/scroll/ScrollbarThemeAura.cpp b/Source/platform/scroll/ScrollbarThemeAura.cpp |
index 9145f3de9373c26fa5973fd81800999636fef3b0..20319127a1e8deb878ccd3fea3a5dfbe62ec6f26 100644 |
--- a/Source/platform/scroll/ScrollbarThemeAura.cpp |
+++ b/Source/platform/scroll/ScrollbarThemeAura.cpp |
@@ -41,6 +41,12 @@ |
#include "public/platform/WebRect.h" |
#include "public/platform/WebThemeEngine.h" |
+namespace { |
+ |
+const int kDefaultOverlayScrollbarThumbThickness = 13; |
+ |
+} // namespace |
+ |
namespace WebCore { |
static bool useMockTheme() |
@@ -51,7 +57,7 @@ static bool useMockTheme() |
ScrollbarTheme* ScrollbarTheme::nativeTheme() |
{ |
if (RuntimeEnabledFeatures::overlayScrollbarsEnabled()) { |
- DEFINE_STATIC_LOCAL(ScrollbarThemeOverlay, theme, (10, 0, ScrollbarThemeOverlay::AllowHitTest)); |
+ DEFINE_STATIC_LOCAL(ScrollbarThemeOverlay, theme, (kDefaultOverlayScrollbarThumbThickness, 0, ScrollbarThemeOverlay::AllowHitTest)); |
return &theme; |
} |