Index: tests/PathOpsOpRectThreadedTest.cpp |
diff --git a/tests/PathOpsOpRectThreadedTest.cpp b/tests/PathOpsOpRectThreadedTest.cpp |
index 9195e4a6166820a9a3f979f013f38511dd89861a..4d672e4857b06f3e15916f12d5a22ebc8d5d013b 100644 |
--- a/tests/PathOpsOpRectThreadedTest.cpp |
+++ b/tests/PathOpsOpRectThreadedTest.cpp |
@@ -88,8 +88,8 @@ DEF_TEST(PathOpsRectsThreaded, reporter) { |
for (int b = a + 1; b < 7; ++b) { |
for (int c = 0 ; c < 6; ++c) { |
for (int d = c + 1; d < 7; ++d) { |
- *testRunner.fRunnables.append() = SkNEW_ARGS(PathOpsThreadedRunnable, |
- (&testPathOpsRectsMain, a, b, c, d, &testRunner)); |
+ *testRunner.fRunnables.append() = new PathOpsThreadedRunnable( |
+ &testPathOpsRectsMain, a, b, c, d, &testRunner); |
} |
} |
if (!reporter->allowExtendedTest()) goto finish; |