| Index: chrome/browser/ui/webui/options/manage_profile_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/manage_profile_handler.cc b/chrome/browser/ui/webui/options/manage_profile_handler.cc
|
| index 541ee483dbf46ffb8434d528ae29285f56ef4e4a..2dbc2697a289aa9a49f29329c452dbd91f9f0efe 100644
|
| --- a/chrome/browser/ui/webui/options/manage_profile_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/manage_profile_handler.cc
|
| @@ -489,15 +489,14 @@ void ManageProfileHandler::RequestCreateProfileUpdate(
|
| state == GoogleServiceAuthError::ACCOUNT_DISABLED);
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| "CreateProfileOverlay.updateSignedInStatus", base::StringValue(username),
|
| - base::FundamentalValue(has_error));
|
| + base::Value(has_error));
|
|
|
| OnCreateSupervisedUserPrefChange();
|
| }
|
|
|
| void ManageProfileHandler::OnCreateSupervisedUserPrefChange() {
|
| PrefService* prefs = Profile::FromWebUI(web_ui())->GetPrefs();
|
| - base::FundamentalValue allowed(
|
| - prefs->GetBoolean(prefs::kSupervisedUserCreationAllowed));
|
| + base::Value allowed(prefs->GetBoolean(prefs::kSupervisedUserCreationAllowed));
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| "CreateProfileOverlay.updateSupervisedUsersAllowed", allowed);
|
| }
|
| @@ -505,7 +504,7 @@ void ManageProfileHandler::OnCreateSupervisedUserPrefChange() {
|
| void ManageProfileHandler::OnHasProfileShortcuts(bool has_shortcuts) {
|
| DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
|
|
|
| - const base::FundamentalValue has_shortcuts_value(has_shortcuts);
|
| + const base::Value has_shortcuts_value(has_shortcuts);
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| "ManageProfileOverlay.receiveHasProfileShortcuts", has_shortcuts_value);
|
| }
|
|
|