Index: ash/shell.cc |
diff --git a/ash/shell.cc b/ash/shell.cc |
index a4b6c5ed4c8a271d9a9ca7eab7bf5ed92405994a..f3dc52c39f6827e6295df66efe46af0a86a9a535 100644 |
--- a/ash/shell.cc |
+++ b/ash/shell.cc |
@@ -739,7 +739,7 @@ void Shell::Init(const ShellInitParams& init_params) { |
!gpu_support_->IsPanelFittingDisabled()); |
#elif defined(USE_X11) |
display_configurator_->Init( |
- base::WrapUnique(new ui::NativeDisplayDelegateX11()), |
+ base::MakeUnique<ui::NativeDisplayDelegateX11>(), |
!gpu_support_->IsPanelFittingDisabled()); |
#endif |
} |