| Index: cc/trees/layer_tree_impl.h
|
| diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
|
| index ad4edc336f255eb25e0bd33e4d4b366c04704f95..17b74d91b11c8da67d726811564ec0ccb3a8e55a 100644
|
| --- a/cc/trees/layer_tree_impl.h
|
| +++ b/cc/trees/layer_tree_impl.h
|
| @@ -129,8 +129,14 @@ class CC_EXPORT LayerTreeImpl {
|
| bool IsRootLayer(const LayerImpl* layer) const;
|
| std::unique_ptr<OwnedLayerImplList> DetachLayers();
|
|
|
| - void SetPropertyTrees(PropertyTrees* property_trees);
|
| + void SetPropertyTrees(PropertyTrees* property_trees,
|
| + PropertyTrees* test_property_trees_with_new_clip_tree);
|
| PropertyTrees* property_trees() { return &property_trees_; }
|
| + PropertyTrees* test_property_trees_with_new_clip_tree() {
|
| + if (!test_property_trees_with_new_clip_tree_)
|
| + test_property_trees_with_new_clip_tree_ = new PropertyTrees();
|
| + return test_property_trees_with_new_clip_tree_;
|
| + }
|
|
|
| void UpdatePropertyTreesForBoundsDelta();
|
|
|
| @@ -476,6 +482,7 @@ class CC_EXPORT LayerTreeImpl {
|
| LayerImpl* root_layer_for_testing_;
|
| HeadsUpDisplayLayerImpl* hud_layer_;
|
| PropertyTrees property_trees_;
|
| + PropertyTrees* test_property_trees_with_new_clip_tree_;
|
| SkColor background_color_;
|
| bool has_transparent_background_;
|
|
|
|
|