Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: bench/BenchLogger.cpp

Issue 347823004: Remove Sk prefix from some bench classes. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: SkGMBench -> GMBench Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bench/BenchLogger.h ('k') | bench/BenchTool/BenchTool.xcodeproj/project.pbxproj » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « bench/BenchLogger.h ('k') | bench/BenchTool/BenchTool.xcodeproj/project.pbxproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698