Chromium Code Reviews| Index: cc/test/layer_test_common.cc |
| diff --git a/cc/test/layer_test_common.cc b/cc/test/layer_test_common.cc |
| index a6753ce9f528179e7f340af03182e9ca2924a140..30fad17f7872e821a6a7a813ca2f052d4e1cf8d9 100644 |
| --- a/cc/test/layer_test_common.cc |
| +++ b/cc/test/layer_test_common.cc |
| @@ -50,7 +50,7 @@ void LayerTestCommon::VerifyQuadsExactlyCoverRect(const QuadList& quads, |
| for (auto iter = quads.cbegin(); iter != quads.cend(); ++iter) { |
| gfx::RectF quad_rectf = MathUtil::MapClippedRect( |
| iter->shared_quad_state->quad_to_target_transform, |
| - gfx::RectF(iter->rect)); |
| + gfx::RectF(iter->visible_rect)); |
|
danakj
2017/02/10 16:32:22
Should this verify quad rect /and/ visible rect?
malaykeshav
2017/02/10 20:24:58
Done
|
| // Before testing for exact coverage in the integer world, assert that |
| // rounding will not round the rect incorrectly. |