Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1604)

Unified Diff: cc/debug/micro_benchmark_controller_impl.h

Issue 1866203004: Convert //cc from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptrcc: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/debug/micro_benchmark_controller.cc ('k') | cc/debug/micro_benchmark_controller_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/micro_benchmark_controller_impl.h
diff --git a/cc/debug/micro_benchmark_controller_impl.h b/cc/debug/micro_benchmark_controller_impl.h
index bcb4aa0830590f5214c9522b3043c4a2b1773126..67c8005059aa7c1d72b3064602c47cf35ebaa316 100644
--- a/cc/debug/micro_benchmark_controller_impl.h
+++ b/cc/debug/micro_benchmark_controller_impl.h
@@ -21,13 +21,13 @@ class CC_EXPORT MicroBenchmarkControllerImpl {
void DidCompleteCommit();
- void ScheduleRun(scoped_ptr<MicroBenchmarkImpl> benchmark);
+ void ScheduleRun(std::unique_ptr<MicroBenchmarkImpl> benchmark);
private:
void CleanUpFinishedBenchmarks();
LayerTreeHostImpl* host_;
- std::vector<scoped_ptr<MicroBenchmarkImpl>> benchmarks_;
+ std::vector<std::unique_ptr<MicroBenchmarkImpl>> benchmarks_;
DISALLOW_COPY_AND_ASSIGN(MicroBenchmarkControllerImpl);
};
« no previous file with comments | « cc/debug/micro_benchmark_controller.cc ('k') | cc/debug/micro_benchmark_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698