| Index: cc/animation/scroll_offset_animations_impl.cc
|
| diff --git a/cc/animation/scroll_offset_animations_impl.cc b/cc/animation/scroll_offset_animations_impl.cc
|
| index 5d52678d06d10d7b31a0d551135426f8f5d0f936..ab3dfe32dbfa24b4f896715f349b7bda2f26d711 100644
|
| --- a/cc/animation/scroll_offset_animations_impl.cc
|
| +++ b/cc/animation/scroll_offset_animations_impl.cc
|
| @@ -70,9 +70,8 @@ bool ScrollOffsetAnimationsImpl::ScrollAnimationUpdateTarget(
|
|
|
| DCHECK_EQ(element_id, scroll_offset_animation_player_->element_id());
|
|
|
| - Animation* animation =
|
| - scroll_offset_animation_player_->element_animations()->GetAnimation(
|
| - TargetProperty::SCROLL_OFFSET);
|
| + Animation* animation = scroll_offset_animation_player_->GetAnimation(
|
| + TargetProperty::SCROLL_OFFSET);
|
| if (!animation) {
|
| scroll_offset_animation_player_->DetachElement();
|
| return false;
|
| @@ -115,9 +114,8 @@ void ScrollOffsetAnimationsImpl::ScrollAnimationApplyAdjustment(
|
| if (!scroll_offset_animation_player_->element_animations())
|
| return;
|
|
|
| - Animation* animation =
|
| - scroll_offset_animation_player_->element_animations()->GetAnimation(
|
| - TargetProperty::SCROLL_OFFSET);
|
| + Animation* animation = scroll_offset_animation_player_->GetAnimation(
|
| + TargetProperty::SCROLL_OFFSET);
|
| if (!animation)
|
| return;
|
|
|
|
|