Index: cc/trees/transform_node.h |
diff --git a/cc/trees/transform_node.h b/cc/trees/transform_node.h |
index 2abfb1cc00480b7eb14ed6dab868d15a165a4096..7d779fb8e72078a6d6c5b2fad0d39d8567230f9a 100644 |
--- a/cc/trees/transform_node.h |
+++ b/cc/trees/transform_node.h |
@@ -55,6 +55,10 @@ struct CC_EXPORT TransformNode { |
// transform node. -1 indicates there are no sticky position constraints. |
int sticky_position_constraint_id; |
+ // This stores the main thread offset applied to the sticky element from main |
+ // thread. It's used to calculate the actual sticky position offset from cc. |
flackr
2017/06/01 19:01:47
nit: s/actual sticky position offset/additional st
yigu
2017/06/01 19:28:40
Done.
|
+ gfx::Vector2dF sticky_main_thread_offset; |
+ |
// This is the node with respect to which source_offset is defined. This will |
// not be needed once layerization moves to cc, but is needed in order to |
// efficiently update the transform tree for changes to position in the layer |