summaryrefslogtreecommitdiff
path: root/chromium/ui/events/blink/web_input_event_builders_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/events/blink/web_input_event_builders_win.cc')
-rw-r--r--chromium/ui/events/blink/web_input_event_builders_win.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/ui/events/blink/web_input_event_builders_win.cc b/chromium/ui/events/blink/web_input_event_builders_win.cc
index 155402fcb09..47a3eafc94f 100644
--- a/chromium/ui/events/blink/web_input_event_builders_win.cc
+++ b/chromium/ui/events/blink/web_input_event_builders_win.cc
@@ -21,7 +21,7 @@ namespace ui {
static const unsigned long kDefaultScrollLinesPerWheelDelta = 3;
static const unsigned long kDefaultScrollCharsPerWheelDelta = 1;
-static const unsigned long kScrollPercentPerLineOrChar = 5;
+static const unsigned long kMyScrollPercentPerLineOrChar = 5;
// WebMouseEvent --------------------------------------------------------------
@@ -315,7 +315,7 @@ WebMouseWheelEvent WebMouseWheelEventBuilder::Build(
// the percentage amount (out of 1, i.e. 1 == 100%) the targeted scroller
// should scroll. This percentage will be resolved against the size of
// the scroller in the renderer process.
- scroll_delta *= kScrollPercentPerLineOrChar / 100.f;
+ scroll_delta *= kMyScrollPercentPerLineOrChar / 100.f;
result.delta_units = ui::ScrollGranularity::kScrollByPercentage;
} else {
// Convert wheel delta amount to a number of pixels to scroll.