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 2b9457b019fe60f6862711d97893cd87f7bda4c0..b038bccfd2e423f04c8e16b1ff0ba35b059b4fe9 100644 |
--- a/cc/layers/picture_layer_impl_unittest.cc |
+++ b/cc/layers/picture_layer_impl_unittest.cc |
@@ -405,10 +405,6 @@ TEST_F(PictureLayerImplTest, ExternalViewportRectForPrioritizingTiles) { |
EXPECT_EQ(active_layer_->viewport_rect_for_tile_priority(), |
viewport_rect_for_tile_priority_in_view_space); |
- // Interset viewport_rect_for_tile_priority_in_view_space with the layer |
danakj
2014/09/18 23:19:36
It would be really easy to add back that intersect
vmpstr
2014/09/18 23:58:46
Done.
|
- // bounds and the result should be used in PictureLayerTiling. |
- viewport_rect_for_tile_priority_in_view_space.Intersect( |
- gfx::Rect(layer_bounds)); |
tilings = active_layer_->tilings(); |
for (size_t i = 0; i < tilings->num_tilings(); i++) { |
PictureLayerTiling* tiling = tilings->tiling_at(i); |