| Index: cc/test/fake_picture_layer_impl.cc
|
| diff --git a/cc/test/fake_picture_layer_impl.cc b/cc/test/fake_picture_layer_impl.cc
|
| index 545cc8919ce41b3ef74bd756c2b843ce6399b091..225ee64baeeddb717e581a6270aa2f5737136fcb 100644
|
| --- a/cc/test/fake_picture_layer_impl.cc
|
| +++ b/cc/test/fake_picture_layer_impl.cc
|
| @@ -189,11 +189,11 @@ size_t FakePictureLayerImpl::CountTilesRequired(
|
| if (!tilings_)
|
| return 0;
|
|
|
| - if (visible_rect_for_tile_priority_.IsEmpty())
|
| + if (visible_layer_rect().IsEmpty())
|
| return 0;
|
|
|
| gfx::Rect rect = viewport_rect_for_tile_priority_in_content_space_;
|
| - rect.Intersect(visible_rect_for_tile_priority_);
|
| + rect.Intersect(visible_layer_rect());
|
|
|
| size_t count = 0;
|
|
|
|
|