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

Unified Diff: ash/rotator/screen_rotation_animation.cc

Issue 2291923002: Check target value
Patch Set: Test Created 4 years, 4 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 | « ash/rotator/screen_rotation_animation.h ('k') | ash/rotator/window_rotation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/rotator/screen_rotation_animation.cc
diff --git a/ash/rotator/screen_rotation_animation.cc b/ash/rotator/screen_rotation_animation.cc
index ecbc75d9935c1a913ce5e076864f90d16d83b223..55a55deca91df1e6ffa5f9052bda91950787827e 100644
--- a/ash/rotator/screen_rotation_animation.cc
+++ b/ash/rotator/screen_rotation_animation.cc
@@ -63,4 +63,8 @@ void ScreenRotationAnimation::OnAbort(ui::LayerAnimationDelegate* delegate) {
delegate->SetTransformFromAnimation(target_value.transform);
}
+bool ScreenRotationAnimation::AreStartAndTargetSame() {
+ return false;
+}
+
} // namespace ash
« no previous file with comments | « ash/rotator/screen_rotation_animation.h ('k') | ash/rotator/window_rotation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698