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

Unified Diff: cc/debug/micro_benchmark_controller_unittest.cc

Issue 2258833002: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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/layers/layer_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_unittest.cc
diff --git a/cc/debug/micro_benchmark_controller_unittest.cc b/cc/debug/micro_benchmark_controller_unittest.cc
index 30abcc4627f815ee8fd5def476228e1ef7453f40..9d9f48ce4d2f80cc2b9e8868358286af02dde2c1 100644
--- a/cc/debug/micro_benchmark_controller_unittest.cc
+++ b/cc/debug/micro_benchmark_controller_unittest.cc
@@ -26,9 +26,9 @@ class MicroBenchmarkControllerTest : public testing::Test {
void SetUp() override {
impl_task_runner_provider_ =
base::WrapUnique(new FakeImplTaskRunnerProvider);
- layer_tree_host_impl_ = base::WrapUnique(new FakeLayerTreeHostImpl(
+ layer_tree_host_impl_ = base::MakeUnique<FakeLayerTreeHostImpl>(
impl_task_runner_provider_.get(), &shared_bitmap_manager_,
- &task_graph_runner_));
+ &task_graph_runner_);
layer_tree_host_ = FakeLayerTreeHost::Create(&layer_tree_host_client_,
&task_graph_runner_);
« no previous file with comments | « cc/debug/micro_benchmark_controller.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698