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

Unified Diff: components/exo/sub_surface_unittest.cc

Issue 2257793002: 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 | « components/exo/shared_memory_unittest.cc ('k') | components/exo/wayland/server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/sub_surface_unittest.cc
diff --git a/components/exo/sub_surface_unittest.cc b/components/exo/sub_surface_unittest.cc
index 2cd92ffb6401c537a6bdd007b8b9d069a9905deb..1132dec0b180cdd74fcbba14727ccc5b4fd40e85 100644
--- a/components/exo/sub_surface_unittest.cc
+++ b/components/exo/sub_surface_unittest.cc
@@ -40,7 +40,7 @@ TEST_F(SubSurfaceTest, SetPosition) {
// Create and commit a new sub-surface using the same surface.
sub_surface.reset();
- sub_surface = base::WrapUnique(new SubSurface(surface.get(), parent.get()));
+ sub_surface = base::MakeUnique<SubSurface>(surface.get(), parent.get());
parent->Commit();
// Initial position should be reset to origin.
« no previous file with comments | « components/exo/shared_memory_unittest.cc ('k') | components/exo/wayland/server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698