diff options
Diffstat (limited to 'cc/layer_sorter_unittest.cc')
-rw-r--r-- | cc/layer_sorter_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/layer_sorter_unittest.cc b/cc/layer_sorter_unittest.cc index 6c54fc5..4737c2e 100644 --- a/cc/layer_sorter_unittest.cc +++ b/cc/layer_sorter_unittest.cc @@ -178,7 +178,7 @@ TEST(LayerSorterTest, LayersUnderPathologicalPerspectiveTransform) // Sanity check that the test case actually covers the intended scenario, where part // of layer B go behind the w = 0 plane. - FloatQuad testQuad = FloatQuad(gfx::RectF(-0.5, -0.5, 1, 1)); + gfx::QuadF testQuad = gfx::QuadF(gfx::RectF(-0.5, -0.5, 1, 1)); bool clipped = false; MathUtil::mapQuad(perspectiveMatrix * transformB, testQuad, clipped); ASSERT_TRUE(clipped); |