Index: cc/trees/layer_tree_impl_unittest.cc |
diff --git a/cc/trees/layer_tree_impl_unittest.cc b/cc/trees/layer_tree_impl_unittest.cc |
index 4811893d6633833f084cdbd1d97b416bcd139d01..81a566fe7f322d7bb6f57766f337e458b99dd22a 100644 |
--- a/cc/trees/layer_tree_impl_unittest.cc |
+++ b/cc/trees/layer_tree_impl_unittest.cc |
@@ -1470,8 +1470,7 @@ TEST_F(LayerTreeImplTest, |
ASSERT_EQ(1u, root_layer()->render_surface()->layer_list().size()); |
// Check whether the child layer fits into the root after scaled. |
- EXPECT_EQ(gfx::Rect(test_layer->bounds()), |
- test_layer->visible_content_rect()); |
+ EXPECT_EQ(gfx::Rect(test_layer->bounds()), test_layer->visible_layer_rect()); |
// Hit checking for a point outside the layer should return a null pointer |
// (the root layer does not draw content, so it will not be tested either). |