Chromium Code Reviews| Index: ui/keyboard/keyboard_controller_unittest.cc |
| diff --git a/ui/keyboard/keyboard_controller_unittest.cc b/ui/keyboard/keyboard_controller_unittest.cc |
| index 3e3418e421a8c723dfe1712f09201106b97e9086..b07a939f34e76dbc5176068f624cd2f2b7beecc1 100644 |
| --- a/ui/keyboard/keyboard_controller_unittest.cc |
| +++ b/ui/keyboard/keyboard_controller_unittest.cc |
| @@ -40,13 +40,13 @@ void RunAnimationForLayer(ui::Layer* layer) { |
| ui::ScopedAnimationDurationScaleMode::ZERO_DURATION); |
| ui::LayerAnimatorTestController controller(layer->GetAnimator()); |
| - gfx::AnimationContainerElement* element = layer->GetAnimator(); |
| // Multiple steps are required to complete complex animations. |
| // TODO(vollick): This should not be necessary. crbug.com/154017 |
| while (controller.animator()->is_animating()) { |
| controller.StartThreadedAnimationsIfNeeded(); |
| base::TimeTicks step_time = controller.animator()->last_step_time(); |
| - element->Step(step_time + base::TimeDelta::FromMilliseconds(1000)); |
| + layer->GetAnimator()->Step(step_time + |
|
ajuma
2014/05/23 17:10:00
controller.animator()->Step(...)
is more consisten
sadrul
2014/05/23 18:02:42
Done.
|
| + base::TimeDelta::FromMilliseconds(1000)); |
| } |
| } |