diff options
Diffstat (limited to 'bench/nanobench.cpp')
-rw-r--r-- | bench/nanobench.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp index dd792dd39a..88dd74f92d 100644 --- a/bench/nanobench.cpp +++ b/bench/nanobench.cpp @@ -647,7 +647,7 @@ public: } } while(SkCommandLineFlags::ShouldSkip(FLAGS_sourceType, fSourceType) || SkCommandLineFlags::ShouldSkip(FLAGS_benchType, fBenchType)); - return bench.detach(); + return bench.release(); } Benchmark* rawNext() { @@ -665,7 +665,7 @@ public: if (gm->runAsBench()) { fSourceType = "gm"; fBenchType = "micro"; - return new GMBench(gm.detach()); + return new GMBench(gm.release()); } } |