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 d8f7591df7991d41c58b189b58ee524a2f4a6617..e18db97484e3b3c264209a6cf789cce4d38cdcd7 100644 |
--- a/chrome/browser/chromeos/profiles/profile_list_chromeos.cc |
+++ b/chrome/browser/chromeos/profiles/profile_list_chromeos.cc |
@@ -63,7 +63,9 @@ void ProfileListChromeOS::RebuildMenu() { |
item->name = (*it)->GetDisplayName(); |
item->sync_state = profile_info_->GetUserNameOfProfileAtIndex(i); |
item->profile_path = profile_info_->GetPathOfProfileAtIndex(i); |
- item->supervised = false; |
+ DCHECK(!profile_info_->ProfileIsLegacySupervisedAtIndex(i)); |
+ item->legacy_supervised = false; |
+ item->child_account = profile_info_->ProfileIsChildAtIndex(i); |
item->signed_in = true; |
item->active = profile_info_->GetPathOfProfileAtIndex(i) == |
active_profile_path_; |