Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3539)

Unified Diff: cc/trees/layer_tree_impl.h

Issue 2609243003: [NOT FOR REVIEW]
Patch Set: Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/layer_tree_host_in_process.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « cc/trees/layer_tree_host_in_process.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698