aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/FillPathTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FillPathTest.cpp')
-rw-r--r--tests/FillPathTest.cpp4
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();