aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/RecordingBench.h
diff options
context:
space:
mode:
Diffstat (limited to 'bench/RecordingBench.h')
-rw-r--r--bench/RecordingBench.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/bench/RecordingBench.h b/bench/RecordingBench.h
index 0a8befe2f1..a5793b3ac9 100644
--- a/bench/RecordingBench.h
+++ b/bench/RecordingBench.h
@@ -13,7 +13,7 @@
class RecordingBench : public Benchmark {
public:
- RecordingBench(const char* name, const SkPicture*, bool useBBH);
+ RecordingBench(const char* name, const SkPicture*, bool useBBH, bool lite);
protected:
const char* onGetName() override;
@@ -22,9 +22,10 @@ protected:
SkIPoint onGetSize() override;
private:
- SkAutoTUnref<const SkPicture> fSrc;
+ sk_sp<const SkPicture> fSrc;
SkString fName;
bool fUseBBH;
+ bool fLite;
typedef Benchmark INHERITED;
};