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

Unified Diff: cc/test/animation_test_common.cc

Issue 951673002: Revert "Pull chromium at 2c3ffb2355a27c32f45e508ef861416b820c823b" (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/surfaces/display_unittest.cc ('k') | cc/test/data/blue.png » ('j') | 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 d04c5d3bf3343fa0b0c282bd8c90f0219f4330b0..f6179cc9d6c99a2e117b4d8aa43248200a709d65 100644
--- a/cc/test/animation_test_common.cc
+++ b/cc/test/animation_test_common.cc
@@ -44,8 +44,10 @@ int AddOpacityTransition(Target* target,
int id = AnimationIdProvider::NextAnimationId();
scoped_ptr<Animation> animation(
- Animation::Create(curve.Pass(), id, AnimationIdProvider::NextGroupId(),
- Animation::OPACITY));
+ Animation::Create(curve.Pass(),
+ id,
+ AnimationIdProvider::NextGroupId(),
+ Animation::Opacity));
animation->set_needs_synchronized_start_time(true);
target->AddAnimation(animation.Pass());
@@ -71,8 +73,10 @@ int AddAnimatedTransform(Target* target,
int id = AnimationIdProvider::NextAnimationId();
scoped_ptr<Animation> animation(
- Animation::Create(curve.Pass(), id, AnimationIdProvider::NextGroupId(),
- Animation::TRANSFORM));
+ Animation::Create(curve.Pass(),
+ id,
+ AnimationIdProvider::NextGroupId(),
+ Animation::Transform));
animation->set_needs_synchronized_start_time(true);
target->AddAnimation(animation.Pass());
@@ -118,7 +122,7 @@ int AddAnimatedFilter(Target* target,
int id = AnimationIdProvider::NextAnimationId();
scoped_ptr<Animation> animation(Animation::Create(
- curve.Pass(), id, AnimationIdProvider::NextGroupId(), Animation::FILTER));
+ curve.Pass(), id, AnimationIdProvider::NextGroupId(), Animation::Filter));
animation->set_needs_synchronized_start_time(true);
target->AddAnimation(animation.Pass());
« no previous file with comments | « cc/surfaces/display_unittest.cc ('k') | cc/test/data/blue.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698