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

Unified Diff: ash/rotator/test/screen_rotation_animator_test_api.cc

Issue 2790583004: Add second copy request after screen rotation to flatten the layers in animation. (Closed)
Patch Set: Separate the two test sets for slow/smooth animation. Created 3 years, 8 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_animator_unittest.cc ('k') | ash/utility/transformer_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/rotator/test/screen_rotation_animator_test_api.cc
diff --git a/ash/rotator/test/screen_rotation_animator_test_api.cc b/ash/rotator/test/screen_rotation_animator_test_api.cc
index 0c26e474efb6c8aefc78548e1b730d7a91a62036..0d3d679a61f9aee00942e564b80691bd20921205 100644
--- a/ash/rotator/test/screen_rotation_animator_test_api.cc
+++ b/ash/rotator/test/screen_rotation_animator_test_api.cc
@@ -28,6 +28,10 @@ ScreenRotationAnimatorTestApi::GetLayerAnimators() {
animators.insert(animators.end(),
animator_->old_layer_tree_owner_->root()->GetAnimator());
}
+ if (animator_->new_layer_tree_owner_) {
+ animators.insert(animators.end(),
+ animator_->new_layer_tree_owner_->root()->GetAnimator());
+ }
return animators;
}
« no previous file with comments | « ash/rotator/screen_rotation_animator_unittest.cc ('k') | ash/utility/transformer_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698