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

Unified Diff: ash/first_run/desktop_cleaner.cc

Issue 2472183003: Remove linked_ptr from ash (Closed)
Patch Set: review Created 4 years, 1 month 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/first_run/desktop_cleaner.h ('k') | ash/wm/resize_shadow_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/first_run/desktop_cleaner.cc
diff --git a/ash/first_run/desktop_cleaner.cc b/ash/first_run/desktop_cleaner.cc
index 8e01b06dc5b027808bfea1f833ff32c7c30190af..443f2a530f85d96ac778a7d7f8781b75c824fc29 100644
--- a/ash/first_run/desktop_cleaner.cc
+++ b/ash/first_run/desktop_cleaner.cc
@@ -95,7 +95,7 @@ DesktopCleaner::DesktopCleaner() {
for (size_t i = 0; i < arraysize(kContainerIdsToHide); ++i) {
aura::Window* container =
Shell::GetContainer(root_window, kContainerIdsToHide[i]);
- container_hiders_.push_back(make_linked_ptr(new ContainerHider(container)));
+ container_hiders_.push_back(base::MakeUnique<ContainerHider>(container));
}
notification_blocker_.reset(new NotificationBlocker());
}
« no previous file with comments | « ash/first_run/desktop_cleaner.h ('k') | ash/wm/resize_shadow_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698