aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PathOpsSimplifyTrianglesThreadedTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PathOpsSimplifyTrianglesThreadedTest.cpp')
-rw-r--r--[-rwxr-xr-x]tests/PathOpsSimplifyTrianglesThreadedTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/PathOpsSimplifyTrianglesThreadedTest.cpp b/tests/PathOpsSimplifyTrianglesThreadedTest.cpp
index ee0ca2bcaa..8d8feee143 100755..100644
--- a/tests/PathOpsSimplifyTrianglesThreadedTest.cpp
+++ b/tests/PathOpsSimplifyTrianglesThreadedTest.cpp
@@ -90,8 +90,8 @@ DEF_TEST(PathOpsSimplifyTrianglesThreaded, reporter) {
if ((bx - ax) * (cy - ay) == (by - ay) * (cx - ax)) {
continue;
}
- *testRunner.fRunnables.append() = SkNEW_ARGS(PathOpsThreadedRunnable,
- (&testSimplifyTrianglesMain, a, b, c, 0, &testRunner));
+ *testRunner.fRunnables.append() = new PathOpsThreadedRunnable(
+ &testSimplifyTrianglesMain, a, b, c, 0, &testRunner);
}
if (!reporter->allowExtendedTest()) goto finish;
}