Index: cc/trees/layer_tree_host_impl_unittest.cc |
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc |
index d81c3a8b4b790141b88935188548c5eff9792080..04d65929d60cd6d002d9fcd78e59467c4bc13bda 100644 |
--- a/cc/trees/layer_tree_host_impl_unittest.cc |
+++ b/cc/trees/layer_tree_host_impl_unittest.cc |
@@ -10374,8 +10374,7 @@ TEST_F(LayerTreeHostImplTest, JitterTest) { |
pending_tree->set_needs_update_draw_properties(); |
pending_tree->UpdateDrawProperties(false); |
- float jitter = |
- LayerTreeHostCommon::CalculateFrameJitter(last_scrolled_layer); |
+ float jitter = LayerTreeHostCommon::CalculateLayerJitter(content_layer); |
// There should not be any jitter measured till we hit the fixed point hits |
// threshold. |
float expected_jitter = |