| Index: cc/layers/nine_patch_layer_impl_unittest.cc
|
| diff --git a/cc/layers/nine_patch_layer_impl_unittest.cc b/cc/layers/nine_patch_layer_impl_unittest.cc
|
| index bc7abcf6df5611d4cc0bd3f49e99690b3c194dfd..9d1d87096c52b8a4196ac2c55e412fcaf2af977b 100644
|
| --- a/cc/layers/nine_patch_layer_impl_unittest.cc
|
| +++ b/cc/layers/nine_patch_layer_impl_unittest.cc
|
| @@ -70,15 +70,13 @@ void NinePatchLayerLayoutTest(const gfx::Size& bitmap_size,
|
| EXPECT_EQ(expected_quad_size, quads.size());
|
|
|
| Region remaining(visible_content_rect);
|
| - size_t i = 0;
|
| for (QuadList::ConstIterator iter = quads.begin(); iter != quads.end();
|
| ++iter) {
|
| gfx::Rect quad_rect = iter->rect;
|
|
|
| - EXPECT_TRUE(visible_content_rect.Contains(quad_rect)) << i;
|
| - EXPECT_TRUE(remaining.Contains(quad_rect)) << i;
|
| + EXPECT_TRUE(visible_content_rect.Contains(quad_rect)) << iter.index();
|
| + EXPECT_TRUE(remaining.Contains(quad_rect)) << iter.index();
|
| remaining.Subtract(Region(quad_rect));
|
| - ++i;
|
| }
|
|
|
| // Check if the left-over quad is the same size as the mapped aperture quad in
|
|
|