Index: cc/trees/layer_tree_host_common.cc |
diff --git a/cc/trees/layer_tree_host_common.cc b/cc/trees/layer_tree_host_common.cc |
index b58340af18074c0169af23f010c07cb5360bd758..8c8ff846febbec530bff6ac26e0f88af9d7651ce 100644 |
--- a/cc/trees/layer_tree_host_common.cc |
+++ b/cc/trees/layer_tree_host_common.cc |
@@ -1038,7 +1038,7 @@ static void CalculateDrawPropertiesInternal( |
gfx::Size bounds = layer->bounds(); |
gfx::PointF anchor_point = layer->anchor_point(); |
- gfx::PointF position = layer->position() - layer->ScrollDelta(); |
+ gfx::PointF position = layer->position() - layer->TotalScrollOffset(); |
gfx::Transform combined_transform = parent_matrix; |
if (!layer->transform().IsIdentity()) { |