| Index: cc/test/layer_test_common.cc
|
| diff --git a/cc/test/layer_test_common.cc b/cc/test/layer_test_common.cc
|
| index b4d13375b82b8959faea324caad2cc0857a3db14..be054de47d218d26add8cf24f8a682bd638ca105 100644
|
| --- a/cc/test/layer_test_common.cc
|
| +++ b/cc/test/layer_test_common.cc
|
| @@ -75,14 +75,14 @@ void LayerTestCommon::VerifyQuadsAreOccluded(const QuadList& quads,
|
| const gfx::Rect& occluded,
|
| size_t* partially_occluded_count) {
|
| // No quad should exist if it's fully occluded.
|
| - for (const auto& quad : quads) {
|
| + for (auto* quad : quads) {
|
| gfx::Rect target_visible_rect = MathUtil::MapEnclosingClippedRect(
|
| quad->shared_quad_state->quad_to_target_transform, quad->visible_rect);
|
| EXPECT_FALSE(occluded.Contains(target_visible_rect));
|
| }
|
|
|
| // Quads that are fully occluded on one axis only should be shrunken.
|
| - for (const auto& quad : quads) {
|
| + for (auto* quad : quads) {
|
| gfx::Rect target_rect = MathUtil::MapEnclosingClippedRect(
|
| quad->shared_quad_state->quad_to_target_transform, quad->rect);
|
| if (!quad->shared_quad_state->quad_to_target_transform
|
|
|