Index: cc/output/gl_renderer_unittest.cc |
diff --git a/cc/output/gl_renderer_unittest.cc b/cc/output/gl_renderer_unittest.cc |
index 882e46fc0d52cdc31d938f3740d9d88a27b2a3db..40d0d35d78302b50808af38546b632da3973afe6 100644 |
--- a/cc/output/gl_renderer_unittest.cc |
+++ b/cc/output/gl_renderer_unittest.cc |
@@ -1740,7 +1740,8 @@ TEST_F(GLRendererShaderTest, DrawRenderPassQuadSkipsAAForClippingTransform) { |
// Verify that the test transform and test rect actually do cause the clipped |
// flag to trigger. Otherwise we are not testing the intended scenario. |
bool clipped = false; |
- MathUtil::MapQuad(transform_preventing_aa, gfx::QuadF(child_rect), &clipped); |
+ MathUtil::MapQuad(transform_preventing_aa, gfx::QuadF(gfx::RectF(child_rect)), |
+ &clipped); |
ASSERT_TRUE(clipped); |
child_pass = AddRenderPass(&render_passes_in_draw_order_, |