| Index: cc/layers/layer.h
|
| diff --git a/cc/layers/layer.h b/cc/layers/layer.h
|
| index c88721b0fa6e1e82ad3728900e1d3f93b7cc566b..1de176b3471199f88bb43f49c4e8b203d84bcaf0 100644
|
| --- a/cc/layers/layer.h
|
| +++ b/cc/layers/layer.h
|
| @@ -174,6 +174,11 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
|
| return inputs_.sticky_position_constraint;
|
| }
|
|
|
| + void SetOffsetForStickyPositionFromMainThread(const gfx::Size& offset);
|
| + const gfx::Size offset_for_sticky_position_from_main_thread() const {
|
| + return inputs_.offset_for_sticky_position_from_main_thread;
|
| + }
|
| +
|
| void SetTransform(const gfx::Transform& transform);
|
| const gfx::Transform& transform() const { return inputs_.transform; }
|
|
|
| @@ -577,6 +582,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
|
| LayerPositionConstraint position_constraint;
|
|
|
| LayerStickyPositionConstraint sticky_position_constraint;
|
| + gfx::Size offset_for_sticky_position_from_main_thread;
|
|
|
| ElementId element_id;
|
|
|
|
|