Chromium Code Reviews| Index: cc/layers/picture_layer_impl_unittest.cc |
| diff --git a/cc/layers/picture_layer_impl_unittest.cc b/cc/layers/picture_layer_impl_unittest.cc |
| index 73906afdb61812a840c2ef39d88e69967bc6679e..39d337e6712055e46612497280bf1c03de8f9286 100644 |
| --- a/cc/layers/picture_layer_impl_unittest.cc |
| +++ b/cc/layers/picture_layer_impl_unittest.cc |
| @@ -2704,7 +2704,7 @@ TEST_F(PictureLayerImplTest, LayerRasterTileIterator) { |
| EXPECT_TRUE(reached_prepaint); |
| EXPECT_EQ(0u, non_ideal_tile_count); |
| - EXPECT_EQ(1u, low_res_tile_count); |
| + EXPECT_EQ(0u, low_res_tile_count); |
| EXPECT_EQ(16u, high_res_tile_count); |
| EXPECT_EQ(low_res_tile_count + high_res_tile_count + non_ideal_tile_count, |
| unique_tiles.size()); |
| @@ -2761,8 +2761,7 @@ TEST_F(PictureLayerImplTest, LayerRasterTileIterator) { |
| non_ideal_tile_count = 0; |
| low_res_tile_count = 0; |
| high_res_tile_count = 0; |
| - for (it = PictureLayerImpl::LayerRasterTileIterator(pending_layer_, false); |
| - it; |
| + for (it = PictureLayerImpl::LayerRasterTileIterator(pending_layer_, true); it; |
| ++it) { |
| Tile* tile = *it; |
| TilePriority priority = tile->priority(PENDING_TREE); |
| @@ -3794,7 +3793,7 @@ TEST_F(OcclusionTrackingPictureLayerImplTest, |
| if (tile_is_visible) |
| unoccluded_tile_count++; |
| } |
| - EXPECT_EQ(unoccluded_tile_count, 25 + 4); |
| + EXPECT_EQ(unoccluded_tile_count, 25); |
|
danakj
2014/10/22 14:27:40
LGTM if there's still a test somewhere for the cas
vmpstr
2014/10/22 14:40:17
Yeah, there are some tests for smoothness as well.
|
| // Partial occlusion. |
| pending_layer_->AddChild(LayerImpl::Create(host_impl_.pending_tree(), 1)); |
| @@ -3824,7 +3823,7 @@ TEST_F(OcclusionTrackingPictureLayerImplTest, |
| if (tile_is_visible) |
| unoccluded_tile_count++; |
| } |
| - EXPECT_EQ(20 + 2, unoccluded_tile_count); |
| + EXPECT_EQ(20, unoccluded_tile_count); |
| // Full occlusion. |
| layer1->SetPosition(gfx::Point(0, 0)); |