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

Unified Diff: cc/trees/layer_tree_impl.h

Issue 2758343002: cc: Use Element Id to Record Animation Changes (Closed)
Patch Set: fix for test 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
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_impl.h
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
index feca5e7a1343d905641653c39382dc2c3191cf79..d34a1998f2ffed02ddb50639c0ed2875177c283a 100644
--- a/cc/trees/layer_tree_impl.h
+++ b/cc/trees/layer_tree_impl.h
@@ -516,9 +516,12 @@ 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>
+ element_id_to_opacity_animations_;
+ std::unordered_map<ElementId, gfx::Transform, ElementIdHash>
+ element_id_to_transform_animations_;
+ std::unordered_map<ElementId, FilterOperations, ElementIdHash>
+ element_id_to_filter_animations_;
// 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
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698