summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/scroll/scroll_animator_mac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/scroll/scroll_animator_mac.mm')
-rw-r--r--chromium/third_party/blink/renderer/core/scroll/scroll_animator_mac.mm7
1 files changed, 4 insertions, 3 deletions
diff --git a/chromium/third_party/blink/renderer/core/scroll/scroll_animator_mac.mm b/chromium/third_party/blink/renderer/core/scroll/scroll_animator_mac.mm
index 4d860b03bef..222138c6dbc 100644
--- a/chromium/third_party/blink/renderer/core/scroll/scroll_animator_mac.mm
+++ b/chromium/third_party/blink/renderer/core/scroll/scroll_animator_mac.mm
@@ -807,7 +807,7 @@ void ScrollAnimatorMac::ImmediateScrollTo(const ScrollOffset& new_offset) {
ScrollOffset delta = adjusted_offset - current_offset_;
current_offset_ = adjusted_offset;
- NotifyContentAreaScrolled(delta, kUserScroll);
+ NotifyContentAreaScrolled(delta, mojom::blink::ScrollType::kUser);
NotifyOffsetChanged();
}
@@ -935,8 +935,9 @@ void ScrollAnimatorMac::WillRemoveHorizontalScrollbar(Scrollbar& scrollbar) {
[scrollbar_painter_controller_ setHorizontalScrollerImp:nil];
}
-void ScrollAnimatorMac::NotifyContentAreaScrolled(const ScrollOffset& delta,
- ScrollType scrollType) {
+void ScrollAnimatorMac::NotifyContentAreaScrolled(
+ const ScrollOffset& delta,
+ mojom::blink::ScrollType scrollType) {
// This function is called when a page is going into the page cache, but the
// page
// isn't really scrolling in that case. We should only pass the message on to