Index: cc/test/animation_test_common.cc |
diff --git a/cc/test/animation_test_common.cc b/cc/test/animation_test_common.cc |
index ccd08286abcb56376cdc1e85851d2b9a0b8508eb..f3fc212faeaaa88ec3442c16220e1ef86d910ea6 100644 |
--- a/cc/test/animation_test_common.cc |
+++ b/cc/test/animation_test_common.cc |
@@ -207,7 +207,9 @@ float FakeFloatTransition::GetValue(base::TimeDelta time) const { |
FakeLayerAnimationValueObserver::FakeLayerAnimationValueObserver() |
: opacity_(0.0f), |
- animation_waiting_for_deletion_(false) {} |
+ animation_waiting_for_deletion_(false), |
+ scroll_offset_animation_removed_(false) { |
+} |
FakeLayerAnimationValueObserver::~FakeLayerAnimationValueObserver() {} |
@@ -234,6 +236,10 @@ void FakeLayerAnimationValueObserver::OnAnimationWaitingForDeletion() { |
animation_waiting_for_deletion_ = true; |
} |
+void FakeLayerAnimationValueObserver::OnScrollOffsetAnimationRemoved() { |
+ scroll_offset_animation_removed_ = true; |
+} |
+ |
bool FakeLayerAnimationValueObserver::IsActive() const { |
return true; |
} |