Index: cc/test/animation_test_common.cc |
diff --git a/cc/test/animation_test_common.cc b/cc/test/animation_test_common.cc |
index 22b7793a38225e004299f67275ab9b01a2040a2b..7ab26a5d8b548500392d6acf9b21ae4b0c8e0bf6 100644 |
--- a/cc/test/animation_test_common.cc |
+++ b/cc/test/animation_test_common.cc |
@@ -186,7 +186,8 @@ float FakeFloatTransition::GetValue(double time) const { |
} |
FakeLayerAnimationValueObserver::FakeLayerAnimationValueObserver() |
- : opacity_(0.0f) {} |
+ : opacity_(0.0f), |
+ animation_waiting_for_deletion_(false) {} |
FakeLayerAnimationValueObserver::~FakeLayerAnimationValueObserver() {} |
@@ -204,6 +205,10 @@ void FakeLayerAnimationValueObserver::OnTransformAnimated( |
transform_ = transform; |
} |
+void FakeLayerAnimationValueObserver::OnAnimationWaitingForDeletion() { |
+ animation_waiting_for_deletion_ = true; |
+} |
+ |
bool FakeLayerAnimationValueObserver::IsActive() const { |
return true; |
} |