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

Unified Diff: ui/compositor/layer_animation_sequence_unittest.cc

Issue 11896017: Thread ui opacity animations (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Correctly deal with sequences meant to start together Created 7 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: ui/compositor/layer_animation_sequence_unittest.cc
diff --git a/ui/compositor/layer_animation_sequence_unittest.cc b/ui/compositor/layer_animation_sequence_unittest.cc
index a6bb402e256e710e3af5fdea0f3a447e0e82de33..1c5b85b62f3f057a0632747251575d4b75ea7570 100644
--- a/ui/compositor/layer_animation_sequence_unittest.cc
+++ b/ui/compositor/layer_animation_sequence_unittest.cc
@@ -167,7 +167,7 @@ TEST(LayerAnimationSequenceTest, AbortingCyclicSequence) {
sequence.Progress(start_time + base::TimeDelta::FromMilliseconds(101000),
&delegate);
EXPECT_FLOAT_EQ(target_opacity, delegate.GetOpacityForAnimation());
- sequence.Abort();
+ sequence.Abort(&delegate);
// Should be able to reuse the sequence after aborting.
delegate.SetOpacityFromAnimation(start_opacity);

Powered by Google App Engine
This is Rietveld 408576698