| Index: chrome/browser/supervised_user/child_accounts/child_account_service.cc
|
| diff --git a/chrome/browser/supervised_user/child_accounts/child_account_service.cc b/chrome/browser/supervised_user/child_accounts/child_account_service.cc
|
| index a0c30ac724bbc2bcd38903d869b973eca26d8fb8..cc61ff2cf14e9ddf77c6dbc4f2bfd382de3c5f8c 100644
|
| --- a/chrome/browser/supervised_user/child_accounts/child_account_service.cc
|
| +++ b/chrome/browser/supervised_user/child_accounts/child_account_service.cc
|
| @@ -74,6 +74,7 @@ ChildAccountService::ChildAccountService(Profile* profile)
|
| ChildAccountService::~ChildAccountService() {}
|
|
|
| void ChildAccountService::SetIsChildAccount(bool is_child_account) {
|
| + PropagateChildStatusToUser(is_child_account);
|
| if (profile_->IsChild() == is_child_account)
|
| return;
|
|
|
| @@ -83,7 +84,6 @@ void ChildAccountService::SetIsChildAccount(bool is_child_account) {
|
| } else {
|
| profile_->GetPrefs()->ClearPref(prefs::kSupervisedUserId);
|
| }
|
| - PropagateChildStatusToUser(is_child_account);
|
| }
|
|
|
| void ChildAccountService::Init() {
|
|
|