| Index: cc/trees/property_tree_builder.cc
|
| diff --git a/cc/trees/property_tree_builder.cc b/cc/trees/property_tree_builder.cc
|
| index 5573c325f652db9dfb3759d5ba503e061432e29c..1afd4bddf24e3b43885d4eb2c74e6d20da8c0176 100644
|
| --- a/cc/trees/property_tree_builder.cc
|
| +++ b/cc/trees/property_tree_builder.cc
|
| @@ -194,8 +194,8 @@ void AddTransformNodeIfNeeded(const DataForRecursion& data_from_ancestor,
|
| // record, the slight difference should be inconsequential).
|
| gfx::Vector2dF position = layer->position().OffsetFromOrigin();
|
| if (!layer->scroll_parent()) {
|
| - position -= gfx::Vector2dF(layer->TotalScrollOffset().x(),
|
| - layer->TotalScrollOffset().y());
|
| + position -= gfx::Vector2dF(layer->CurrentScrollOffset().x(),
|
| + layer->CurrentScrollOffset().y());
|
| }
|
|
|
| position += parent_offset;
|
|
|