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

Unified Diff: chrome/browser/supervised_user/legacy/supervised_user_registration_utility.cc

Issue 2666093002: Remove base::FundamentalValue (Closed)
Patch Set: Rebase Created 3 years, 10 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/supervised_user/legacy/supervised_user_registration_utility.cc
diff --git a/chrome/browser/supervised_user/legacy/supervised_user_registration_utility.cc b/chrome/browser/supervised_user/legacy/supervised_user_registration_utility.cc
index e3a7991abc781cb08cc8a8cb73b905b4c98287e5..e9744da312a8e712f48356d3dea1f78cde7ceb49 100644
--- a/chrome/browser/supervised_user/legacy/supervised_user_registration_utility.cc
+++ b/chrome/browser/supervised_user/legacy/supervised_user_registration_utility.cc
@@ -291,8 +291,7 @@ void SupervisedUserRegistrationUtilityImpl::Register(
const char* kAvatarKey = supervised_users::kChromeAvatarIndex;
#endif
supervised_user_shared_settings_service_->SetValue(
- pending_supervised_user_id_, kAvatarKey,
- base::FundamentalValue(info.avatar_index));
+ pending_supervised_user_id_, kAvatarKey, base::Value(info.avatar_index));
if (need_password_update) {
password_update_.reset(new SupervisedUserSharedSettingsUpdate(
supervised_user_shared_settings_service_, pending_supervised_user_id_,

Powered by Google App Engine
This is Rietveld 408576698