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

Unified Diff: cc/test/animation_test_common.cc

Issue 952893003: Update from https://crrev.com/317530 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix gn for nacl 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 f6179cc9d6c99a2e117b4d8aa43248200a709d65..d04c5d3bf3343fa0b0c282bd8c90f0219f4330b0 100644
--- a/cc/test/animation_test_common.cc
+++ b/cc/test/animation_test_common.cc
@@ -44,10 +44,8 @@ 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());
@@ -73,10 +71,8 @@ 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());
@@ -122,7 +118,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