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

Unified Diff: cc/test/pixel_test.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/fake_painted_scrollbar_layer.cc ('k') | cc/test/remote_proto_channel_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/pixel_test.cc
diff --git a/cc/test/pixel_test.cc b/cc/test/pixel_test.cc
index 98ad27788d65f6c8f787195b0d32278cc94b6212..33ebdc184a7c6a84e14d735a9d94e5753f77cec5 100644
--- a/cc/test/pixel_test.cc
+++ b/cc/test/pixel_test.cc
@@ -144,8 +144,8 @@ void PixelTest::SetUpGLRenderer(bool use_skia_gpu_backend,
settings_.renderer_settings.use_gpu_memory_buffer_resources,
settings_.renderer_settings.buffer_to_texture_target_map);
- texture_mailbox_deleter_ = base::WrapUnique(
- new TextureMailboxDeleter(base::ThreadTaskRunnerHandle::Get()));
+ texture_mailbox_deleter_ = base::MakeUnique<TextureMailboxDeleter>(
+ base::ThreadTaskRunnerHandle::Get());
renderer_ = base::MakeUnique<GLRenderer>(
&settings_.renderer_settings, output_surface_.get(),
« no previous file with comments | « cc/test/fake_painted_scrollbar_layer.cc ('k') | cc/test/remote_proto_channel_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698