Index: cc/trees/layer_tree.h |
diff --git a/cc/trees/layer_tree.h b/cc/trees/layer_tree.h |
index e58e71cb1f48f15d784d9d290a5c8c88ecefdee4..c6ba5f3020095dc1b1c3b5ab735311fdc30efa5c 100644 |
--- a/cc/trees/layer_tree.h |
+++ b/cc/trees/layer_tree.h |
@@ -134,6 +134,12 @@ class CC_EXPORT LayerTree : public MutatorHostClient { |
// |settings_.use_layer_lists| is true. This is a SPV2 setting. |
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 SetNeedsDisplayOnAllLayers(); |
void SetNeedsCommit(); |
@@ -282,6 +288,8 @@ class CC_EXPORT LayerTree : public MutatorHostClient { |
PropertyTrees property_trees_; |
+ PropertyTrees* test_property_trees_with_new_clip_tree_; |
+ |
bool needs_full_tree_sync_; |
bool needs_meta_info_recomputation_; |