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

Unified Diff: chrome/browser/chromeos/profiles/profile_list_chromeos.cc

Issue 1870793002: Convert //chrome/browser/chromeos from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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
Index: chrome/browser/chromeos/profiles/profile_list_chromeos.cc
diff --git a/chrome/browser/chromeos/profiles/profile_list_chromeos.cc b/chrome/browser/chromeos/profiles/profile_list_chromeos.cc
index 69e2186f9dc677ae16e657bba0a414ea0b2e534a..1a7d6beba01084c248526f6f0c414585948ba876 100644
--- a/chrome/browser/chromeos/profiles/profile_list_chromeos.cc
+++ b/chrome/browser/chromeos/profiles/profile_list_chromeos.cc
@@ -74,7 +74,7 @@ void ProfileListChromeOS::RebuildMenu() {
icon = profiles::GetAvatarIconForMenu(icon, true);
}
- scoped_ptr<AvatarMenu::Item> item(
+ std::unique_ptr<AvatarMenu::Item> item(
new AvatarMenu::Item(items_.size(), entry->GetPath(), icon));
item->name = user->GetDisplayName();
item->username = entry->GetUserName();

Powered by Google App Engine
This is Rietveld 408576698