Index: cc/layers/painted_scrollbar_layer_impl_unittest.cc |
diff --git a/cc/layers/painted_scrollbar_layer_impl_unittest.cc b/cc/layers/painted_scrollbar_layer_impl_unittest.cc |
index 5a7229fda9f9e5b1dc8d8bed39906d57063c6809..eac32b67efa8857d4f50d8cf2c3a4d17768ade58 100644 |
--- a/cc/layers/painted_scrollbar_layer_impl_unittest.cc |
+++ b/cc/layers/painted_scrollbar_layer_impl_unittest.cc |
@@ -88,7 +88,7 @@ TEST(PaintedScrollbarLayerImplTest, Occlusion) { |
{ |
SCOPED_TRACE("Full occlusion"); |
- gfx::Rect occluded(scrollbar_layer_impl->visible_content_rect()); |
+ gfx::Rect occluded(scrollbar_layer_impl->visible_layer_rect()); |
impl.AppendQuadsWithOcclusion(scrollbar_layer_impl, occluded); |
LayerTestCommon::VerifyQuadsExactlyCoverRect(impl.quad_list(), gfx::Rect()); |