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

Unified Diff: cc/trees/layer_tree_impl.h

Issue 2758343002: cc: Use Element Id to Record Animation Changes (Closed)
Patch Set: Created 3 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
Index: cc/trees/layer_tree_impl.h
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
index 8ccd09b46fe4e1e3fc1cbcdd82b946255da771cd..4f37be2fc35f9d122e5c86471cd924236f06ef31 100644
--- a/cc/trees/layer_tree_impl.h
+++ b/cc/trees/layer_tree_impl.h
@@ -510,9 +510,11 @@ class CC_EXPORT LayerTreeImpl {
std::unordered_map<ElementId, int, ElementIdHash> element_layers_map_;
- std::unordered_map<int, float> opacity_animations_map_;
- std::unordered_map<int, gfx::Transform> transform_animations_map_;
- std::unordered_map<int, FilterOperations> filter_animations_map_;
+ std::unordered_map<ElementId, float, ElementIdHash> opacity_animations_map_;
wkorman 2017/03/20 21:59:57 Thoughts on naming these xx_to_yy? We did that for
+ std::unordered_map<ElementId, gfx::Transform, ElementIdHash>
+ transform_animations_map_;
+ std::unordered_map<ElementId, FilterOperations, ElementIdHash>
+ filter_animations_map_;
// Maps from clip layer ids to scroll layer ids. Note that this only includes
// the subset of clip layers that act as scrolling containers. (This is

Powered by Google App Engine
This is Rietveld 408576698