From f168b86d7fafc5c20c87bebc6fd393cb17e120ca Mon Sep 17 00:00:00 2001 From: tfarina Date: Thu, 19 Jun 2014 12:32:29 -0700 Subject: 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 --- bench/RectBench.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bench/RectBench.cpp') diff --git a/bench/RectBench.cpp b/bench/RectBench.cpp index a2029e601f..f50324a580 100644 --- a/bench/RectBench.cpp +++ b/bench/RectBench.cpp @@ -5,7 +5,7 @@ * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ -#include "SkBenchmark.h" +#include "Benchmark.h" #include "SkCanvas.h" #include "SkCommandLineFlags.h" #include "SkPaint.h" @@ -15,7 +15,7 @@ DEFINE_double(strokeWidth, -1.0, "If set, use this stroke width in RectBench."); -class RectBench : public SkBenchmark { +class RectBench : public Benchmark { public: int fShift, fStroke; enum { @@ -78,7 +78,7 @@ protected: } } private: - typedef SkBenchmark INHERITED; + typedef Benchmark INHERITED; }; class SrcModeRectBench : public RectBench { @@ -170,7 +170,7 @@ protected: virtual const char* onGetName() { return fName; } }; -class AARectBench : public SkBenchmark { +class AARectBench : public Benchmark { public: enum { W = 640, @@ -221,7 +221,7 @@ protected: } private: bool fRotate; - typedef SkBenchmark INHERITED; + typedef Benchmark INHERITED; }; /******************************************************************************* -- cgit v1.2.3