Chromium Code Reviews| Index: cc/trees/draw_property_utils.h |
| diff --git a/cc/trees/draw_property_utils.h b/cc/trees/draw_property_utils.h |
| index 913234a9324c976edd7a94af7c5fea5218d61c34..1859ff521352f3b7f7dda2dceb3c14bb8b4a9807 100644 |
| --- a/cc/trees/draw_property_utils.h |
| +++ b/cc/trees/draw_property_utils.h |
| @@ -54,9 +54,7 @@ void CC_EXPORT BuildPropertyTreesAndComputeVisibleRects( |
| float device_scale_factor, |
| const gfx::Rect& viewport, |
| const gfx::Transform& device_transform, |
| - bool can_render_to_separate_surface, |
| - PropertyTrees* property_trees, |
| - LayerList* update_layer_list); |
| + PropertyTrees* property_trees); |
| void CC_EXPORT BuildPropertyTreesAndComputeVisibleRects( |
| LayerImpl* root_layer, |
| @@ -73,10 +71,15 @@ void CC_EXPORT BuildPropertyTreesAndComputeVisibleRects( |
| PropertyTrees* property_trees, |
| LayerImplList* visible_layer_list); |
| -void CC_EXPORT ComputeVisibleRects(Layer* root_layer, |
| - PropertyTrees* property_trees, |
| - bool can_render_to_separate_surface, |
| - LayerList* update_layer_list); |
| +void CC_EXPORT Update(Layer* root_layer, |
|
jaydasika
2016/04/02 02:54:10
need to name this better :) It updates property tr
ajuma
2016/04/04 14:15:05
How about splitting this into three functions?
jaydasika
2016/04/04 18:41:09
Done.
|
| + PropertyTrees* property_trees, |
| + bool can_render_to_separate_surface, |
| + LayerList* update_layer_list); |
| + |
| +void CC_EXPORT |
| +ComputeVisibleRectsForTesting(PropertyTrees* property_trees, |
| + bool can_render_to_separate_surface, |
| + LayerList* visible_layer_list); |
| void CC_EXPORT ComputeVisibleRects(LayerImpl* root_layer, |
| PropertyTrees* property_trees, |