Index: bench/BenchLogger.cpp |
diff --git a/bench/BenchLogger.cpp b/bench/BenchLogger.cpp |
index 98423d015072b73cf1c473529e3a4d11e3d15432..5e7455238a3d4d75a140df3da739ba23d15c9d42 100644 |
--- a/bench/BenchLogger.cpp |
+++ b/bench/BenchLogger.cpp |
@@ -14,12 +14,12 @@ BenchLogger::BenchLogger() |
BenchLogger::~BenchLogger() { |
if (fFileStream) { |
- SkDELETE(fFileStream); |
+ delete fFileStream; |
} |
} |
bool BenchLogger::SetLogFile(const char *file) { |
- fFileStream = SkNEW_ARGS(SkFILEWStream, (file)); |
+ fFileStream = new SkFILEWStream(file); |
return fFileStream->isValid(); |
} |