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

Unified Diff: chrome/browser/signin/easy_unlock_service_signin_chromeos.h

Issue 2318303002: Remove stl_util's STLDeleteContainerPairSecondPointers. (Closed)
Patch Set: fix Created 4 years, 3 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/signin/easy_unlock_service_signin_chromeos.h
diff --git a/chrome/browser/signin/easy_unlock_service_signin_chromeos.h b/chrome/browser/signin/easy_unlock_service_signin_chromeos.h
index ad997cda520dd1b61756ac6262a651869efbdb9b..6fdd8a134b128b9b894bbbc863b140fbe55a3fe7 100644
--- a/chrome/browser/signin/easy_unlock_service_signin_chromeos.h
+++ b/chrome/browser/signin/easy_unlock_service_signin_chromeos.h
@@ -131,7 +131,7 @@ class EasyUnlockServiceSignin
AccountId account_id_;
// Maps account ids to their fetched cryptohome key data.
- std::map<AccountId, UserData*> user_data_;
+ std::map<AccountId, std::unique_ptr<UserData>> user_data_;
// Whether failed attempts to load user data should be retried.
// This is to handle case where cryptohome daemon is not started in time the

Powered by Google App Engine
This is Rietveld 408576698