Index: cc/trees/layer_tree_host_common_unittest.cc |
diff --git a/cc/trees/layer_tree_host_common_unittest.cc b/cc/trees/layer_tree_host_common_unittest.cc |
index daf7d5b97415390111cc18fbca29dba752a86279..74b501138298b4a05859cf54b3f520c8d6f5be09 100644 |
--- a/cc/trees/layer_tree_host_common_unittest.cc |
+++ b/cc/trees/layer_tree_host_common_unittest.cc |
@@ -7819,7 +7819,8 @@ TEST_F(LayerTreeHostCommonTest, |
SetLayerPropertiesForTesting(fixed.get(), identity_transform, gfx::Point3F(), |
gfx::PointF(3.0f, 4.0f), gfx::Size(50, 50), true, |
false, false); |
- scroll_layer->SetScrollOffsetAndDelta(scroll_offset, scroll_delta); |
+ scroll_layer->SetScrollOffset(scroll_offset); |
+ scroll_layer->SetScrollDelta(scroll_delta); |
scroll_layer->SetScrollCompensationAdjustment(main_scroll_fractional_part); |
scroller->AddChild(fixed.Pass()); |