diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-10-24 12:19:46 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-10-24 12:19:46 +0000 |
commit | 045e62d715f5ee9b03deb5af3c750f8318096179 (patch) | |
tree | e16aed890a3a96aff73f66b13de3b079cd638df3 /tests/FillPathTest.cpp | |
parent | 5a0920c22c0dfc62109efdda08ed7e150806e2ff (diff) |
enable soft clipping (yikes)
git-svn-id: http://skia.googlecode.com/svn/trunk@2515 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/FillPathTest.cpp')
-rw-r--r-- | tests/FillPathTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/FillPathTest.cpp b/tests/FillPathTest.cpp index 8621c8eed5..827185167e 100644 --- a/tests/FillPathTest.cpp +++ b/tests/FillPathTest.cpp @@ -32,12 +32,12 @@ struct FakeBlitter : public SkBlitter { // but skipped after tessellation, should be cleared by the blitter. static void TestFillPathInverse(skiatest::Reporter* reporter) { FakeBlitter blitter; - SkRegion clip; + SkIRect clip; SkPath path; int height = 100; int width = 200; int expected_lines = 5; - clip.setRect(0, height - expected_lines, width, height); + clip.set(0, height - expected_lines, width, height); path.moveTo(0.0, 0.0); path.quadTo(width/2, height, width, 0.0); path.close(); |