| 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.
|
|
|