Remove Sk prefix from some bench classes.
This idea came while commenting on
https://codereview.chromium.org/343583005/
Since SkBenchmark, SkBenchLogger and SkGMBench are not part of the Skia library,
they should not have the Sk prefix.
BUG=None
TEST=make all
R=mtklein@google.com
Author: tfarina@chromium.org
Review URL: https://codereview.chromium.org/347823004
diff --git a/bench/HairlinePathBench.cpp b/bench/HairlinePathBench.cpp
index 11faff5..e7e2b42 100644
--- a/bench/HairlinePathBench.cpp
+++ b/bench/HairlinePathBench.cpp
@@ -5,7 +5,7 @@
* found in the LICENSE file.
*/
-#include "SkBenchmark.h"
+#include "Benchmark.h"
#include "SkCanvas.h"
#include "SkPaint.h"
#include "SkRandom.h"
@@ -13,8 +13,8 @@
#include "SkString.h"
#if SK_SUPPORT_GPU
-#include "GrTest.h"
#include "GrDrawTargetCaps.h"
+#include "GrTest.h"
#endif
enum Flags {
@@ -36,7 +36,7 @@
static const int kMaxPathSize = 10;
-class HairlinePathBench : public SkBenchmark {
+class HairlinePathBench : public Benchmark {
public:
HairlinePathBench(Flags flags) : fFlags(flags) {
fPaint.setStyle(SkPaint::kStroke_Style);
@@ -78,7 +78,7 @@
SkPaint fPaint;
SkString fName;
Flags fFlags;
- typedef SkBenchmark INHERITED;
+ typedef Benchmark INHERITED;
};
class LinePathBench : public HairlinePathBench {