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

Unified Diff: cc/animation/layer_animation_controller.h

Issue 1782433002: CC Animation: Erase old animation system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@erasetests
Patch Set: Remove vtbl in LayerAnimationController. Fix formatting. Created 4 years, 9 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 | « no previous file | cc/blink/web_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/layer_animation_controller.h
diff --git a/cc/animation/layer_animation_controller.h b/cc/animation/layer_animation_controller.h
index 28a4523c20c6a94f3e0b50138d751b817cc07ee1..c6cc506dd779036873de98a3ec1b2522cbbcb1f5 100644
--- a/cc/animation/layer_animation_controller.h
+++ b/cc/animation/layer_animation_controller.h
@@ -52,9 +52,8 @@ class CC_EXPORT LayerAnimationController
// Ensures that the list of active animations on the main thread and the impl
// thread are kept in sync. This function does not take ownership of the impl
- // thread controller. This method is virtual for testing.
- virtual void PushAnimationUpdatesTo(
- LayerAnimationController* controller_impl);
+ // thread controller.
+ void PushAnimationUpdatesTo(LayerAnimationController* controller_impl);
void Animate(base::TimeTicks monotonic_time);
void AccumulatePropertyUpdates(base::TimeTicks monotonic_time,
@@ -170,13 +169,12 @@ class CC_EXPORT LayerAnimationController
return needs_to_start_animations_;
}
- protected:
+ private:
friend class base::RefCounted<LayerAnimationController>;
explicit LayerAnimationController(int id);
- virtual ~LayerAnimationController();
+ ~LayerAnimationController();
- private:
using TargetProperties = std::unordered_set<int>;
void PushNewAnimationsToImplThread(
« no previous file with comments | « no previous file | cc/blink/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698