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 a11a7cb627a0101ef34857cf6cec2dd09e4b6875..9b64e883d9c01be0bd55b0ec7f94c7b3b6990a28 100644 |
--- a/chrome/browser/ui/webui/options/manage_profile_handler.cc |
+++ b/chrome/browser/ui/webui/options/manage_profile_handler.cc |
@@ -489,14 +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( |
+ base::Value allowed( |
prefs->GetBoolean(prefs::kSupervisedUserCreationAllowed)); |
web_ui()->CallJavascriptFunctionUnsafe( |
"CreateProfileOverlay.updateSupervisedUsersAllowed", allowed); |
@@ -505,7 +505,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); |
} |