Index: third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp |
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp b/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp |
index a0aa22c5da620de5520003ba63d4589404afb201..91c715962d6a175c94658900d4be421b447e417b 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp |
@@ -357,6 +357,10 @@ |
IntRect track = trackRect(scrollbar); |
return scrollbar.orientation() == HorizontalScrollbar ? track.height() |
: track.width(); |
+} |
+ |
+int ScrollbarTheme::minimumThumbLength(const ScrollbarThemeClient& scrollbar) { |
+ return scrollbarThickness(scrollbar.controlSize()); |
} |
void ScrollbarTheme::splitTrack(const ScrollbarThemeClient& scrollbar, |