summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/Scrollbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/Scrollbar.h')
-rw-r--r--WebCore/platform/Scrollbar.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/WebCore/platform/Scrollbar.h b/WebCore/platform/Scrollbar.h
index 67496f2..49907ba 100644
--- a/WebCore/platform/Scrollbar.h
+++ b/WebCore/platform/Scrollbar.h
@@ -40,9 +40,8 @@ class ScrollbarClient;
class ScrollbarTheme;
class PlatformMouseEvent;
-// These match the numbers we use over in WebKit (WebFrameView.m).
const int cScrollbarPixelsPerLineStep = 40;
-const int cAmountToKeepWhenPaging = 40;
+const float cFractionToStepWhenPaging = 0.875f;
class Scrollbar : public Widget {
protected: