aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/bench_pictures_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bench_pictures_main.cpp')
-rw-r--r--tools/bench_pictures_main.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/tools/bench_pictures_main.cpp b/tools/bench_pictures_main.cpp
index b29f4d106e..865bb5184f 100644
--- a/tools/bench_pictures_main.cpp
+++ b/tools/bench_pictures_main.cpp
@@ -431,13 +431,9 @@ int tool_main(int argc, char** argv) {
SkAutoTDelete<PictureJSONResultsWriter> jsonWriter;
if (FLAGS_jsonLog.count() == 1) {
SkASSERT(FLAGS_builderName.count() == 1 && FLAGS_gitHash.count() == 1);
- jsonWriter.reset(SkNEW(PictureJSONResultsWriter(
- FLAGS_jsonLog[0],
- FLAGS_builderName[0],
- FLAGS_buildNumber,
- FLAGS_timestamp,
- FLAGS_gitHash[0],
- FLAGS_gitNumber)));
+ jsonWriter.reset(new PictureJSONResultsWriter(FLAGS_jsonLog[0], FLAGS_builderName[0],
+ FLAGS_buildNumber, FLAGS_timestamp,
+ FLAGS_gitHash[0], FLAGS_gitNumber));
gWriter.add(jsonWriter.get());
}