| Index: cc/trees/layer_tree_impl.h
|
| diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
|
| index f52941d430b9dc9e78ac781b3f7e12af163fb7b3..25497d666b8b7614b6b4893cfc92a96f26d0ead0 100644
|
| --- a/cc/trees/layer_tree_impl.h
|
| +++ b/cc/trees/layer_tree_impl.h
|
| @@ -294,6 +294,7 @@ class CC_EXPORT LayerTreeImpl {
|
|
|
| LayerImpl* LayerById(int id) const;
|
|
|
| + int LayerIdByElementId(ElementId element_id) const;
|
| // TODO(vollick): this is deprecated. It is used by
|
| // animation/compositor-worker to look up layers to mutate, but in future, we
|
| // will update property trees.
|
| @@ -497,7 +498,7 @@ class CC_EXPORT LayerTreeImpl {
|
| // Set of layers that need to push properties.
|
| std::unordered_set<LayerImpl*> layers_that_should_push_properties_;
|
|
|
| - std::unordered_map<ElementId, LayerImpl*, ElementIdHash> element_layers_map_;
|
| + 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_;
|
|
|