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

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: Move some functions to ash/utility/transformer_util. 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
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;
}

Powered by Google App Engine
This is Rietveld 408576698