aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/FontCacheBench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/FontCacheBench.cpp')
-rw-r--r--bench/FontCacheBench.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/bench/FontCacheBench.cpp b/bench/FontCacheBench.cpp
index c206d5b6c8..c682f43121 100644
--- a/bench/FontCacheBench.cpp
+++ b/bench/FontCacheBench.cpp
@@ -25,7 +25,7 @@ static int count_glyphs(const uint16_t start[]) {
class FontCacheBench : public SkBenchmark {
public:
- FontCacheBench(void* param) : INHERITED(param) {}
+ FontCacheBench() {}
protected:
virtual const char* onGetName() SK_OVERRIDE {
@@ -109,7 +109,7 @@ static void dump_array(const uint16_t array[], int count) {
class FontCacheEfficiency : public SkBenchmark {
public:
- FontCacheEfficiency(void* param) : INHERITED(param) {
+ FontCacheEfficiency() {
if (false) dump_array(NULL, 0);
if (false) rotr(0, 0);
}
@@ -152,7 +152,7 @@ private:
///////////////////////////////////////////////////////////////////////////////
-DEF_BENCH( return new FontCacheBench(p); )
+DEF_BENCH( return new FontCacheBench(); )
// undefine this to run the efficiency test
-//DEF_BENCH( return new FontCacheEfficiency(p); )
+//DEF_BENCH( return new FontCacheEfficiency(); )