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

Unified Diff: cc/trees/property_tree.h

Issue 2616353003: Clarify property tree id-to-index map names. (Closed)
Patch Set: Sync to head. Created 3 years, 11 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_impl.cc ('k') | cc/trees/property_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/property_tree.h
diff --git a/cc/trees/property_tree.h b/cc/trees/property_tree.h
index db53f85e5d6b043f6c7369164019a48ec2200f70..653189d0c44f8023c501883be9a16b3d641f03de 100644
--- a/cc/trees/property_tree.h
+++ b/cc/trees/property_tree.h
@@ -529,10 +529,10 @@ class CC_EXPORT PropertyTrees final {
// These maps map from layer id to the index for each of the respective
// property node types.
- std::unordered_map<int, int> transform_id_to_index_map;
- std::unordered_map<int, int> effect_id_to_index_map;
- std::unordered_map<int, int> clip_id_to_index_map;
- std::unordered_map<int, int> scroll_id_to_index_map;
+ std::unordered_map<int, int> layer_id_to_transform_node_index;
+ std::unordered_map<int, int> layer_id_to_effect_node_index;
+ std::unordered_map<int, int> layer_id_to_clip_node_index;
+ std::unordered_map<int, int> layer_id_to_scroll_node_index;
enum TreeType { TRANSFORM, EFFECT, CLIP, SCROLL };
// These maps allow mapping directly from a compositor element id to the
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | cc/trees/property_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698