aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/nanobench.h
diff options
context:
space:
mode:
Diffstat (limited to 'bench/nanobench.h')
-rw-r--r--bench/nanobench.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/nanobench.h b/bench/nanobench.h
index ad538dd896..5e4efbf077 100644
--- a/bench/nanobench.h
+++ b/bench/nanobench.h
@@ -44,7 +44,7 @@ struct Target {
virtual ~Target() { }
const Config config;
- SkAutoTDelete<SkSurface> surface;
+ sk_sp<SkSurface> surface;
/** Called once per target, immediately before any timing or drawing. */
virtual void setup() { }