Index: cc/trees/layer_tree_impl.h |
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h |
index ccff3c2447bfcb393ab6ae4e38a813d4c3dec2b4..e41b59e8ee2313fb7be9597be600dca02b489dff 100644 |
--- a/cc/trees/layer_tree_impl.h |
+++ b/cc/trees/layer_tree_impl.h |
@@ -359,6 +359,10 @@ class CC_EXPORT LayerTreeImpl { |
void AddToElementMap(LayerImpl* layer); |
void RemoveFromElementMap(LayerImpl* layer); |
+ void SetSurfaceLayerIds(const std::vector<SurfaceId>& surface_layer_ids); |
+ const std::vector<SurfaceId>& SurfaceLayerIds() const; |
+ void ClearSurfaceLayerIds(); |
+ |
void AddLayerShouldPushProperties(LayerImpl* layer); |
void RemoveLayerShouldPushProperties(LayerImpl* layer); |
std::unordered_set<LayerImpl*>& LayersThatShouldPushProperties(); |
@@ -445,10 +449,6 @@ class CC_EXPORT LayerTreeImpl { |
void RegisterScrollLayer(LayerImpl* layer); |
void UnregisterScrollLayer(LayerImpl* layer); |
- void AddSurfaceLayer(LayerImpl* layer); |
- void RemoveSurfaceLayer(LayerImpl* layer); |
- const LayerImplList& SurfaceLayers() const { return surface_layers_; } |
- |
LayerImpl* FindFirstScrollingLayerOrDrawnScrollbarThatIsHitByPoint( |
const gfx::PointF& screen_space_point); |
@@ -587,8 +587,9 @@ class CC_EXPORT LayerTreeImpl { |
base::flat_map<ElementId, ScrollbarLayerIds> |
element_id_to_scrollbar_layer_ids_; |
+ std::vector<SurfaceId> surface_layer_ids_; |
+ |
std::vector<PictureLayerImpl*> picture_layers_; |
- LayerImplList surface_layers_; |
// List of render surfaces for the most recently prepared frame. |
RenderSurfaceList render_surface_list_; |