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

Unified Diff: cc/test/test_layer_tree_host_base.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/test/test_gpu_memory_buffer_manager.cc ('k') | cc/test/test_shared_bitmap_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_layer_tree_host_base.cc
diff --git a/cc/test/test_layer_tree_host_base.cc b/cc/test/test_layer_tree_host_base.cc
index 35c6fbb7599b6391a30364c801a07cb4d31ee06d..92b288890687c117abf783d9d3da2cfaf3f0235c 100644
--- a/cc/test/test_layer_tree_host_base.cc
+++ b/cc/test/test_layer_tree_host_base.cc
@@ -47,9 +47,9 @@ std::unique_ptr<FakeLayerTreeHostImpl> TestLayerTreeHostBase::CreateHostImpl(
SharedBitmapManager* shared_bitmap_manager,
TaskGraphRunner* task_graph_runner,
gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager) {
- return base::WrapUnique(new FakeLayerTreeHostImpl(
+ return base::MakeUnique<FakeLayerTreeHostImpl>(
settings, task_runner_provider, shared_bitmap_manager, task_graph_runner,
- gpu_memory_buffer_manager));
+ gpu_memory_buffer_manager);
}
std::unique_ptr<TaskGraphRunner>
« no previous file with comments | « cc/test/test_gpu_memory_buffer_manager.cc ('k') | cc/test/test_shared_bitmap_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698