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

Unified Diff: ui/compositor/layer_animator.cc

Issue 1749573002: CC Animation: Erase old animation system in UI Compositor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@eraseblink
Patch Set: Exclude histograms.xml Created 4 years, 10 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 | « ui/compositor/layer.cc ('k') | ui/compositor/layer_owner_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer_animator.cc
diff --git a/ui/compositor/layer_animator.cc b/ui/compositor/layer_animator.cc
index e7a1b00543ea93db6dc626e1298e157511863bdb..78e117e5948d7f6ee7298265002daa2a75b0a8c7 100644
--- a/ui/compositor/layer_animator.cc
+++ b/ui/compositor/layer_animator.cc
@@ -54,10 +54,8 @@ LayerAnimator::LayerAnimator(base::TimeDelta transition_duration)
is_started_(false),
disable_timer_for_test_(false),
adding_animations_(false) {
- if (Layer::UILayerSettings().use_compositor_animation_timelines) {
- animation_player_ =
- cc::AnimationPlayer::Create(cc::AnimationIdProvider::NextPlayerId());
- }
+ animation_player_ =
+ cc::AnimationPlayer::Create(cc::AnimationIdProvider::NextPlayerId());
}
LayerAnimator::~LayerAnimator() {
« no previous file with comments | « ui/compositor/layer.cc ('k') | ui/compositor/layer_owner_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698