Index: cc/animation/scroll_offset_animations_impl.h |
diff --git a/cc/animation/scroll_offset_animations_impl.h b/cc/animation/scroll_offset_animations_impl.h |
index e6d402f925c36dd9490903c39d83f5e77df8da02..876e3b07bfe318ec4380a89ca72232de3cc6c4ad 100644 |
--- a/cc/animation/scroll_offset_animations_impl.h |
+++ b/cc/animation/scroll_offset_animations_impl.h |
@@ -31,10 +31,14 @@ class CC_ANIMATION_EXPORT ScrollOffsetAnimationsImpl |
~ScrollOffsetAnimationsImpl() override; |
+ // |delayed_by| shrinks the duration of the |
+ // animation. |animation_start_offset| causes us to start the animation |
+ // partway through. |
void ScrollAnimationCreate(ElementId element_id, |
const gfx::ScrollOffset& target_offset, |
const gfx::ScrollOffset& current_offset, |
- base::TimeDelta delayed_by); |
+ base::TimeDelta delayed_by, |
+ base::TimeDelta animation_start_offset); |
bool ScrollAnimationUpdateTarget(ElementId element_id, |
const gfx::Vector2dF& scroll_delta, |