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

Unified Diff: cc/test/animation_test_common.cc

Issue 15732013: Allow animations with inactive observers to reach the Starting state (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
« no previous file with comments | « cc/test/animation_test_common.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/animation_test_common.cc
diff --git a/cc/test/animation_test_common.cc b/cc/test/animation_test_common.cc
index 84f91348a2beff192fdf47d40078fb83b4d6989e..a667c1b7abc284c2d2dbdc4033696635b93c467d 100644
--- a/cc/test/animation_test_common.cc
+++ b/cc/test/animation_test_common.cc
@@ -164,6 +164,10 @@ bool FakeLayerAnimationValueObserver::IsActive() const {
return true;
}
+bool FakeInactiveLayerAnimationValueObserver::IsActive() const {
+ return false;
+}
+
scoped_ptr<cc::AnimationCurve> FakeFloatTransition::Clone() const {
return make_scoped_ptr(
new FakeFloatTransition(*this)).PassAs<cc::AnimationCurve>();
« no previous file with comments | « cc/test/animation_test_common.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698