Index: tools/VisualBench/VisualBench.h |
diff --git a/tools/VisualBench/VisualBench.h b/tools/VisualBench/VisualBench.h |
index 683151f56629b32bc21c11d13a4974f11e75a7aa..b8cd2bdb771a866171f32c25ab40c9920641dcc2 100644 |
--- a/tools/VisualBench/VisualBench.h |
+++ b/tools/VisualBench/VisualBench.h |
@@ -68,7 +68,7 @@ private: |
WallTimer fTimer; |
State fState; |
SkAutoTDelete<VisualBenchmarkStream> fBenchmarkStream; |
- Benchmark* fBenchmark; |
+ SkAutoTUnref<Benchmark> fBenchmark; |
// support framework |
SkAutoTUnref<SkSurface> fSurface; |