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

Unified Diff: cc/animation/layer_animation_controller.h

Issue 408833002: StartAnimation: Optimized the search for Animations which is waiting for TargetAvailability (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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: cc/animation/layer_animation_controller.h
diff --git a/cc/animation/layer_animation_controller.h b/cc/animation/layer_animation_controller.h
index dbb32392699c9ce32c02b0aeffb729fbda52a6d4..bd0bde0362bec8570866e1aab17d7160e53df315 100644
--- a/cc/animation/layer_animation_controller.h
+++ b/cc/animation/layer_animation_controller.h
@@ -211,6 +211,8 @@ class CC_EXPORT LayerAnimationController
// previous attempt at starting animations failed to start all animations.
bool needs_to_start_animations_;
+ typedef base::hash_map<int, Animation*> AnimationMap;
vivekg 2014/07/21 12:39:32 nit: change "int => unsigned" as size_t is non-neg
shreyas.g 2014/07/21 13:00:37 Done.
+
DISALLOW_COPY_AND_ASSIGN(LayerAnimationController);
};

Powered by Google App Engine
This is Rietveld 408576698