diff options
Diffstat (limited to 'cc/picture_layer_tiling_unittest.cc')
-rw-r--r-- | cc/picture_layer_tiling_unittest.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cc/picture_layer_tiling_unittest.cc b/cc/picture_layer_tiling_unittest.cc index e77b73c..f9628bbf 100644 --- a/cc/picture_layer_tiling_unittest.cc +++ b/cc/picture_layer_tiling_unittest.cc @@ -127,5 +127,12 @@ TEST_F(PictureLayerTilingIteratorTest, IteratorEmptyRect) { EXPECT_FALSE(iter); } +TEST_F(PictureLayerTilingIteratorTest, NonIntersectingRect) { + Initialize(gfx::Size(100, 100), 1, gfx::Size(800, 600)); + gfx::Rect non_intersecting(1000, 1000, 50, 50); + PictureLayerTiling::Iterator iter(tiling_.get(), 1, non_intersecting); + EXPECT_FALSE(iter); +} + } // namespace } // namespace cc |