Index: tools/VisualBench/VisualBenchmarkStream.cpp |
diff --git a/tools/VisualBench/VisualBenchmarkStream.cpp b/tools/VisualBench/VisualBenchmarkStream.cpp |
index e3eb44d5b9c76bc1577bd52ff17fd19b64b3d9b9..f8d01a1d919837cd89e3a9de8eb2f536fdf4f38d 100644 |
--- a/tools/VisualBench/VisualBenchmarkStream.cpp |
+++ b/tools/VisualBench/VisualBenchmarkStream.cpp |
@@ -93,7 +93,7 @@ Benchmark* VisualBenchmarkStream::innerNext() { |
if (gm->runAsBench()) { |
fSourceType = "gm"; |
fBenchType = "micro"; |
- return SkNEW_ARGS(GMBench, (gm.detach())); |
+ return new GMBench(gm.detach()); |
} |
} |
@@ -108,7 +108,7 @@ Benchmark* VisualBenchmarkStream::innerNext() { |
SkString name = SkOSPath::Basename(path.c_str()); |
fSourceType = "skp"; |
fBenchType = "playback"; |
- return SkNEW_ARGS(VisualSKPBench, (name.c_str(), pic.get())); |
+ return new VisualSKPBench(name.c_str(), pic.get()); |
} |
return NULL; |