| Index: bench/PictureNestingBench.cpp
|
| diff --git a/bench/PictureNestingBench.cpp b/bench/PictureNestingBench.cpp
|
| index f1adb6084026d9703cae83a502425a43cbb1137c..c2848833b747a8d8afaaf09117addeb75129fe04 100644
|
| --- a/bench/PictureNestingBench.cpp
|
| +++ b/bench/PictureNestingBench.cpp
|
| @@ -99,7 +99,11 @@ public:
|
| }
|
|
|
| protected:
|
| - virtual void onDraw(const int loops, SkCanvas* canvas) {
|
| + virtual bool isSuitableFor(Backend backend) {
|
| + return backend == kNonRendering_Backend;
|
| + }
|
| +
|
| + virtual void onDraw(const int loops, SkCanvas*) {
|
| SkIPoint canvasSize = onGetSize();
|
| SkPictureRecorder recorder;
|
|
|
|
|