Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Unified Diff: cc/test/animation_test_common.cc

Issue 862133002: Update from https://crrev.com/312398 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698