Index: cc/layers/layer.cc |
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc |
index 9523b6241c1aba955cc95d86523742ee49ca7d22..4eaa09b4af69dc0365e41014028f8b22ab53c655 100644 |
--- a/cc/layers/layer.cc |
+++ b/cc/layers/layer.cc |
@@ -582,6 +582,9 @@ void Layer::SetPosition(const gfx::PointF& position) { |
StickyPositionNodeData* sticky_data = |
property_trees->transform_tree.StickyPositionData( |
transform_tree_index()); |
+ // TODO(smcgruer): Pass main thread sticky-shifting offsets of |
+ // non-promoted ancestors, or promote all ancestor sticky elements. |
+ // See http://crbug.com/702229 |
sticky_data->main_thread_offset = |
position.OffsetFromOrigin() - |
sticky_data->constraints.parent_relative_sticky_box_offset |