| 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);
|
| }
|
|
|
| } // namespace ash
|
|
|