diff options
Diffstat (limited to 'chromium/components/exo/sub_surface_unittest.cc')
-rw-r--r-- | chromium/components/exo/sub_surface_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/components/exo/sub_surface_unittest.cc b/chromium/components/exo/sub_surface_unittest.cc index 2cd92ffb640..1132dec0b18 100644 --- a/chromium/components/exo/sub_surface_unittest.cc +++ b/chromium/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. |