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

Unified Diff: services/ui/public/cpp/tests/window_server_shelltest_base.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
Index: services/ui/public/cpp/tests/window_server_shelltest_base.cc
diff --git a/services/ui/public/cpp/tests/window_server_shelltest_base.cc b/services/ui/public/cpp/tests/window_server_shelltest_base.cc
index 9ef29be58def46294e9df199ae86399c06c47beb..d4f5e19dc7c43cb8dbd2e93a0b293f0d0bf76dcf 100644
--- a/services/ui/public/cpp/tests/window_server_shelltest_base.cc
+++ b/services/ui/public/cpp/tests/window_server_shelltest_base.cc
@@ -56,7 +56,7 @@ WindowServerServiceTestBase::~WindowServerServiceTestBase() {}
std::unique_ptr<shell::Service>
WindowServerServiceTestBase::CreateService() {
- return base::WrapUnique(new WindowServerServiceTestClient(this));
+ return base::MakeUnique<WindowServerServiceTestClient>(this);
}
} // namespace ui
« no previous file with comments | « services/ui/gpu/display_compositor/compositor_frame_sink_factory_impl.cc ('k') | services/ui/public/cpp/window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698