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

Unified Diff: services/ui/ws/frame_generator_unittest.cc

Issue 2259823003: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « services/ui/ws/display_manager.cc ('k') | services/ui/ws/modal_window_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/frame_generator_unittest.cc
diff --git a/services/ui/ws/frame_generator_unittest.cc b/services/ui/ws/frame_generator_unittest.cc
index b73dff8f7956da542e5fa44dc282c76f04d79a88..2f39b3d794615b8510da5a746c709a89cf00b74b 100644
--- a/services/ui/ws/frame_generator_unittest.cc
+++ b/services/ui/ws/frame_generator_unittest.cc
@@ -71,7 +71,7 @@ void FrameGeneratorTest::DrawWindowTree(cc::RenderPass* pass) {
void FrameGeneratorTest::SetUp() {
testing::Test::SetUp();
frame_generator_delegate_.reset(new TestFrameGeneratorDelegate(
- base::WrapUnique(new ServerWindow(&window_delegate_, WindowId()))));
+ base::MakeUnique<ServerWindow>(&window_delegate_, WindowId())));
PlatformDisplayInitParams init_params;
frame_generator_.reset(new FrameGenerator(frame_generator_delegate_.get(),
init_params.surfaces_state));
« no previous file with comments | « services/ui/ws/display_manager.cc ('k') | services/ui/ws/modal_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698