aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/DrawPathTest.cpp
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-24 21:03:11 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-24 21:03:11 +0000
commit4bbdeac58cc928dc66296bde3bd06e78070d96b7 (patch)
tree71033489f3f329bfc8c422c6e04e1df5b734cdb0 /tests/DrawPathTest.cpp
parent82502e2e3966a9b0e48665f20154eaacd2a452b3 (diff)
add optional cull-rect to patheffects, so they can do less work if their results
lie outside of the current clip-bounds (the cull rect). Review URL: https://codereview.appspot.com/7206044 git-svn-id: http://skia.googlecode.com/svn/trunk@7378 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/DrawPathTest.cpp')
-rw-r--r--tests/DrawPathTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/DrawPathTest.cpp b/tests/DrawPathTest.cpp
index 370559e25b..3a238db9c9 100644
--- a/tests/DrawPathTest.cpp
+++ b/tests/DrawPathTest.cpp
@@ -260,7 +260,7 @@ static void test_crbug_165432(skiatest::Reporter* reporter) {
SkPath filteredPath;
SkStrokeRec rec(paint);
- REPORTER_ASSERT(reporter, !dash.filterPath(&filteredPath, path, &rec));
+ REPORTER_ASSERT(reporter, !dash.filterPath(&filteredPath, path, &rec, NULL));
REPORTER_ASSERT(reporter, filteredPath.isEmpty());
}