diff options
Diffstat (limited to 'tests/FillPathTest.cpp')
-rw-r--r-- | tests/FillPathTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/FillPathTest.cpp b/tests/FillPathTest.cpp index 827185167e..b14f5bca1e 100644 --- a/tests/FillPathTest.cpp +++ b/tests/FillPathTest.cpp @@ -39,7 +39,8 @@ static void TestFillPathInverse(skiatest::Reporter* reporter) { int expected_lines = 5; clip.set(0, height - expected_lines, width, height); path.moveTo(0.0, 0.0); - path.quadTo(width/2, height, width, 0.0); + path.quadTo(SkIntToScalar(width/2), SkIntToScalar(height), + SkIntToScalar(width), 0.0); path.close(); path.setFillType(SkPath::kInverseWinding_FillType); SkScan::FillPath(path, clip, &blitter); |