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

Unified Diff: ui/compositor/layer.cc

Issue 2335043002: CC Animation: Move animations_ from ElementAnimations to AnimationPlayer. (Closed)
Patch Set: Clean it up harder. Rework UpdateClientAnimationState. Created 4 years, 3 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: ui/compositor/layer.cc
diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
index 5cf93d099cc5f2b60ffa8c116cdedce3201a26a2..7667b1efe8923fb8a311f232ceeab6e59071ba13 100644
--- a/ui/compositor/layer.cc
+++ b/ui/compositor/layer.cc
@@ -525,10 +525,6 @@ void Layer::SwitchToLayer(scoped_refptr<cc::Layer> new_layer) {
SetLayerBackgroundFilters();
}
-bool Layer::HasPendingThreadedAnimationsForTesting() const {
- return animator_->HasPendingThreadedAnimationsForTesting();
-}
-
void Layer::SwitchCCLayerForTest() {
scoped_refptr<cc::Layer> new_layer = cc::PictureLayer::Create(this);
SwitchToLayer(new_layer);

Powered by Google App Engine
This is Rietveld 408576698