Index: tests/PathOpsSimplifyRectThreadedTest.cpp |
diff --git a/tests/PathOpsSimplifyRectThreadedTest.cpp b/tests/PathOpsSimplifyRectThreadedTest.cpp |
index 52a78ece847a5e40603116d29d8e49460d1fceac..8c4e03c4606847837dd794ad89698688c5c0d273 100644 |
--- a/tests/PathOpsSimplifyRectThreadedTest.cpp |
+++ b/tests/PathOpsSimplifyRectThreadedTest.cpp |
@@ -193,8 +193,8 @@ DEF_TEST(PathOpsSimplifyRectsThreaded, reporter) { |
for (int b = a ; b < 8; ++b) { |
for (int c = b ; c < 8; ++c) { |
for (int d = c; d < 8; ++d) { |
- *testRunner.fRunnables.append() = SkNEW_ARGS(PathOpsThreadedRunnable, |
- (&testSimplify4x4RectsMain, a, b, c, d, &testRunner)); |
+ *testRunner.fRunnables.append() = new PathOpsThreadedRunnable( |
+ &testSimplify4x4RectsMain, a, b, c, d, &testRunner); |
} |
if (!reporter->allowExtendedTest()) goto finish; |
} |