diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/scroll/programmatic_scroll_animator.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/core/scroll/programmatic_scroll_animator.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/core/scroll/programmatic_scroll_animator.cc b/chromium/third_party/blink/renderer/core/scroll/programmatic_scroll_animator.cc index 0f4f67818d1..49019fbdde4 100644 --- a/chromium/third_party/blink/renderer/core/scroll/programmatic_scroll_animator.cc +++ b/chromium/third_party/blink/renderer/core/scroll/programmatic_scroll_animator.cc @@ -144,7 +144,9 @@ void ProgrammaticScrollAnimator::UpdateCompositorAnimations() { if (!scrollable_area_->ShouldScrollOnMainThread() && !is_sequenced_scroll_) { auto animation = std::make_unique<CompositorKeyframeModel>( - *animation_curve_, compositor_target_property::SCROLL_OFFSET, 0, 0); + *animation_curve_, 0, 0, + CompositorKeyframeModel::TargetPropertyId( + compositor_target_property::SCROLL_OFFSET)); if (AddAnimation(std::move(animation))) { sent_to_compositor = true; |