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

Unified Diff: ash/mus/root_window_controller.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/bridge/wm_shell_mus.cc ('k') | ash/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/root_window_controller.cc
diff --git a/ash/mus/root_window_controller.cc b/ash/mus/root_window_controller.cc
index f8d6340502933025eda54c5cfb2e935332d247a9..e8bb02c1cf41eecc5fe8d6488fc68b6cd0fb14c1 100644
--- a/ash/mus/root_window_controller.cc
+++ b/ash/mus/root_window_controller.cc
@@ -207,12 +207,12 @@ void RootWindowController::CreateLayoutManagers() {
WmWindowMus* docked_container =
GetWindowByShellWindowId(kShellWindowId_DockedContainer);
docked_container->SetLayoutManager(
- base::WrapUnique(new DockedWindowLayoutManager(docked_container)));
+ base::MakeUnique<DockedWindowLayoutManager>(docked_container));
WmWindowMus* panel_container =
GetWindowByShellWindowId(kShellWindowId_PanelContainer);
panel_container->SetLayoutManager(
- base::WrapUnique(new PanelLayoutManager(panel_container)));
+ base::MakeUnique<PanelLayoutManager>(panel_container));
}
void RootWindowController::CreateStatusArea() {
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698