Index: bench/BenchLogger.cpp |
diff --git a/bench/SkBenchLogger.cpp b/bench/BenchLogger.cpp |
similarity index 68% |
rename from bench/SkBenchLogger.cpp |
rename to bench/BenchLogger.cpp |
index 7cda32772c04f907b092896c1c5b90105ec7e252..98423d015072b73cf1c473529e3a4d11e3d15432 100644 |
--- a/bench/SkBenchLogger.cpp |
+++ b/bench/BenchLogger.cpp |
@@ -1,4 +1,3 @@ |
- |
/* |
* Copyright 2012 Google Inc. |
* |
@@ -6,24 +5,25 @@ |
* found in the LICENSE file. |
*/ |
-#include "SkBenchLogger.h" |
+#include "BenchLogger.h" |
+ |
#include "SkStream.h" |
-SkBenchLogger::SkBenchLogger() |
+BenchLogger::BenchLogger() |
: fFileStream(NULL) {} |
-SkBenchLogger::~SkBenchLogger() { |
+BenchLogger::~BenchLogger() { |
if (fFileStream) { |
SkDELETE(fFileStream); |
} |
} |
-bool SkBenchLogger::SetLogFile(const char *file) { |
+bool BenchLogger::SetLogFile(const char *file) { |
fFileStream = SkNEW_ARGS(SkFILEWStream, (file)); |
return fFileStream->isValid(); |
} |
-void SkBenchLogger::fileWrite(const char msg[], size_t size) { |
+void BenchLogger::fileWrite(const char msg[], size_t size) { |
if (fFileStream && fFileStream->isValid()) { |
fFileStream->write(msg, size); |
} |