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

Unified Diff: cc/layers/layer.h

Issue 687873004: Introduce Property Trees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wip-awoloszyn2
Patch Set: . Created 6 years, 1 month 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 | « no previous file | cc/trees/layer_tree_host.h » ('j') | cc/trees/property_tree_builder.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index b9dd3c95516b87ec54d896603bff1b3b4169be74..a5e07dad98326152fbcbbbf6a444721c2ffa7aca 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -469,9 +469,9 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
// The tree index is slightly counter-intuitive. If |this| is in the transform
// tree, then the index corresponds to this layer's spot in the tree.
// Otherwise, the it is the index of our transform parent.
- void set_transform_tree_index(size_t index) { transform_tree_index_ = index; }
- void set_opacity_tree_index(size_t index) { opacity_tree_index_ = index; }
- void set_clip_tree_index(size_t index) { clip_tree_index_ = index; }
+ void set_transform_tree_index(int index) { transform_tree_index_ = index; }
+ void set_opacity_tree_index(int index) { opacity_tree_index_ = index; }
+ void set_clip_tree_index(int index) { clip_tree_index_ = index; }
int clip_tree_index() const { return clip_tree_index_; }
int transform_tree_index() const { return transform_tree_index_; }
int opacity_tree_index() const { return opacity_tree_index_; }
@@ -483,6 +483,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
return offset_to_transform_parent_;
}
+ // TODO(vollick): Nuke.
void set_fixed_position_container(Layer* layer) {
fixed_position_container_ = layer;
}
« no previous file with comments | « no previous file | cc/trees/layer_tree_host.h » ('j') | cc/trees/property_tree_builder.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698