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

Unified Diff: ash/shell.cc

Issue 2257763002: 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
« no previous file with comments | « ash/mus/root_window_controller.cc ('k') | ash/shell/shell_delegate_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
}
« no previous file with comments | « ash/mus/root_window_controller.cc ('k') | ash/shell/shell_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698