| Index: cc/trees/property_tree_builder.cc
|
| diff --git a/cc/trees/property_tree_builder.cc b/cc/trees/property_tree_builder.cc
|
| index dd1642bcf04813bb87bab838f272e5a58c3ae99a..bdb705524bb7a787f555cef8a7ef705cf70e10a7 100644
|
| --- a/cc/trees/property_tree_builder.cc
|
| +++ b/cc/trees/property_tree_builder.cc
|
| @@ -76,14 +76,6 @@ static LayerStickyPositionConstraint StickyPositionConstraint(
|
| return layer->test_properties()->sticky_position_constraint;
|
| }
|
|
|
| -static gfx::Size OffsetForStickyPositionFromMainThread(Layer* layer) {
|
| - return layer->offset_for_sticky_position_from_main_thread();
|
| -}
|
| -
|
| -static gfx::Size OffsetForStickyPositionFromMainThread(LayerImpl* layer) {
|
| - return layer->test_properties()->offset_for_sticky_position_from_main_thread;
|
| -}
|
| -
|
| static LayerImplList& Children(LayerImpl* layer) {
|
| return layer->test_properties()->children;
|
| }
|
| @@ -570,9 +562,6 @@ bool AddTransformNodeIfNeeded(
|
| DCHECK(sticky_data->nearest_node_shifting_containing_block !=
|
| TransformTree::kInvalidNodeId);
|
| }
|
| - node->offset_for_sticky_position_from_main_thread =
|
| - gfx::Vector2dF(OffsetForStickyPositionFromMainThread(layer).width(),
|
| - OffsetForStickyPositionFromMainThread(layer).height());
|
| }
|
|
|
| node->needs_local_transform_update = true;
|
|
|