| Index: bench/StackBench.cpp
|
| diff --git a/bench/StackBench.cpp b/bench/StackBench.cpp
|
| index 61af99fb1a22c964bd84c1e609bfbeb80e2f4b3d..3b41cb65cebcb427d5aa1ecd0baa7da4b87e3c96 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); }
|
|
|