Chromium Code Reviews| Index: ash/rotator/screen_rotation_animation.cc |
| diff --git a/ash/rotator/screen_rotation_animation.cc b/ash/rotator/screen_rotation_animation.cc |
| index eaabe2efdca545596edeec7e2ffd352e52c11182..cc8698d4351b9019a641dffdae42512962760ec0 100644 |
| --- a/ash/rotator/screen_rotation_animation.cc |
| +++ b/ash/rotator/screen_rotation_animation.cc |
| @@ -61,6 +61,9 @@ void ScreenRotationAnimation::OnGetTarget(TargetValue* target) const { |
| } |
| void ScreenRotationAnimation::OnAbort(ui::LayerAnimationDelegate* delegate) { |
| + TargetValue target_value; |
| + OnGetTarget(&target_value); |
| + delegate->SetTransformFromAnimation(target_value.transform); |
|
oshima
2015/09/04 19:50:35
Is it possible to have a test for this?
bruthig
2015/09/14 20:14:12
Done.
|
| } |
| } // namespace ash |