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

Unified Diff: ash/shell/shell_delegate_impl.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/shell.cc ('k') | ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/shell_delegate_impl.cc
diff --git a/ash/shell/shell_delegate_impl.cc b/ash/shell/shell_delegate_impl.cc
index efea66b7c75610d82abd09e3d6fa8b5b0f166c56..4eb1485422b5f6608892828ede00c40b7c4792cf 100644
--- a/ash/shell/shell_delegate_impl.cc
+++ b/ash/shell/shell_delegate_impl.cc
@@ -254,7 +254,7 @@ ash::MediaDelegate* ShellDelegateImpl::CreateMediaDelegate() {
}
std::unique_ptr<PaletteDelegate> ShellDelegateImpl::CreatePaletteDelegate() {
- return base::WrapUnique(new PaletteDelegateImpl());
+ return base::MakeUnique<PaletteDelegateImpl>();
}
std::unique_ptr<ash::PointerWatcherDelegate>
« no previous file with comments | « ash/shell.cc ('k') | ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698