aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/StackBench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/StackBench.cpp')
-rw-r--r--bench/StackBench.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/StackBench.cpp b/bench/StackBench.cpp
index 61af99fb1a..3b41cb65ce 100644
--- a/bench/StackBench.cpp
+++ b/bench/StackBench.cpp
@@ -5,7 +5,7 @@
* found in the LICENSE file.
*/
-#include "SkBenchmark.h"
+#include "Benchmark.h"
#include "SkRandom.h"
#include "SkChunkAlloc.h"
@@ -29,7 +29,7 @@
// It wins every benchmark on every machine I tried (Desktop, Nexus S, Laptop).
template <typename Impl>
-struct StackBench : public SkBenchmark {
+struct StackBench : public Benchmark {
virtual bool isSuitableFor(Backend b) SK_OVERRIDE { return b == kNonRendering_Backend; }
virtual const char* onGetName() SK_OVERRIDE { return Impl::kName; }
virtual void onDraw(const int loops, SkCanvas*) SK_OVERRIDE { Impl::bench(loops); }