diff options
Diffstat (limited to 'bench/GrMemoryPoolBench.cpp')
-rw-r--r-- | bench/GrMemoryPoolBench.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/GrMemoryPoolBench.cpp b/bench/GrMemoryPoolBench.cpp index 9b60c3cc2c..55ba3e6af0 100644 --- a/bench/GrMemoryPoolBench.cpp +++ b/bench/GrMemoryPoolBench.cpp @@ -110,7 +110,7 @@ protected: enum { kMaxObjects = 4 * (1 << 10), }; - SkAutoTDelete<B> objects[kMaxObjects]; + std::unique_ptr<B> objects[kMaxObjects]; for (int i = 0; i < loops; i++) { uint32_t idx = r.nextRangeU(0, kMaxObjects-1); |