Index: cc/input/scrollbar_animation_controller_thinning.cc |
diff --git a/cc/input/scrollbar_animation_controller_thinning.cc b/cc/input/scrollbar_animation_controller_thinning.cc |
index 587c60f79a8b6355b1a23423c0e693ba87ac678e..a29370051bd6493c074612ddca84e2de41844590 100644 |
--- a/cc/input/scrollbar_animation_controller_thinning.cc |
+++ b/cc/input/scrollbar_animation_controller_thinning.cc |
@@ -216,7 +216,8 @@ void ScrollbarAnimationControllerThinning::ApplyOpacity(float opacity) { |
PropertyTrees* property_trees = |
scrollbar->layer_tree_impl()->property_trees(); |
// If this method is called during LayerImpl::PushPropertiesTo, we may not |
- // yet have valid effect_id_to_index_map entries as property trees are |
+ // yet have valid layer_id_to_effect_node_index entries as property trees |
+ // are |
ajuma
2017/01/10 00:51:44
wrapping
wkorman
2017/01/10 01:13:43
Done.
|
// pushed after layers during activation. We can skip updating opacity in |
// that case as we are only registering a scrollbar and because opacity will |
// be overwritten anyway when property trees are pushed. |
@@ -224,7 +225,7 @@ void ScrollbarAnimationControllerThinning::ApplyOpacity(float opacity) { |
scrollbar->id())) { |
property_trees->effect_tree.OnOpacityAnimated( |
effective_opacity, |
- property_trees->effect_id_to_index_map[scrollbar->id()], |
+ property_trees->layer_id_to_effect_node_index[scrollbar->id()], |
scrollbar->layer_tree_impl()); |
} |
} |