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

Unified Diff: cc/trees/scroll_node.h

Issue 2612883002: Rename cc property tree node owner_id to owning_layer_id. (Closed)
Patch Set: Created 3 years, 11 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/property_tree_builder.cc ('k') | cc/trees/scroll_node.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/scroll_node.h
diff --git a/cc/trees/scroll_node.h b/cc/trees/scroll_node.h
index f68fd59e1e10d4d71600dda4d60990592f82fc55..3e4f4e98ea2ef5bba3cb6e0f0fb7bf073f8fa603 100644
--- a/cc/trees/scroll_node.h
+++ b/cc/trees/scroll_node.h
@@ -21,13 +21,15 @@ struct CC_EXPORT ScrollNode {
ScrollNode();
ScrollNode(const ScrollNode& other);
+ // The node index of this node in the scroll tree node vector.
int id;
+ // The node index of the parent node in the scroll tree node vector.
int parent_id;
// The layer id that corresponds to the layer contents that are scrolled.
// Unlike |id|, this id is stable across frames that don't change the
// composited layer list.
- int owner_id;
+ int owning_layer_id;
// This is used for subtrees that should not be scrolled independently. For
// example, when there is a layer that is not scrollable itself but is inside
« no previous file with comments | « cc/trees/property_tree_builder.cc ('k') | cc/trees/scroll_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698