Index: chrome/browser/ui/webui/settings/profile_info_handler.cc |
diff --git a/chrome/browser/ui/webui/settings/profile_info_handler.cc b/chrome/browser/ui/webui/settings/profile_info_handler.cc |
index 83f2e48f603a3df9f29799f0dc11e7b830e89a7b..175dac328154784dc86f1f3bd3ad485d3d14665c 100644 |
--- a/chrome/browser/ui/webui/settings/profile_info_handler.cc |
+++ b/chrome/browser/ui/webui/settings/profile_info_handler.cc |
@@ -153,7 +153,7 @@ void ProfileInfoHandler::PushProfileStatsCount( |
// the Promise callback approach. |
CallJavascriptFunction("cr.webUIListenerCallback", |
base::StringValue(kProfileStatsCountReadyEventName), |
- base::FundamentalValue(count)); |
+ base::Value(count)); |
} |
#endif |
@@ -165,8 +165,8 @@ void ProfileInfoHandler::HandleGetProfileManagesSupervisedUsers( |
const base::Value* callback_id; |
CHECK(args->Get(0, &callback_id)); |
- ResolveJavascriptCallback( |
- *callback_id, base::FundamentalValue(IsProfileManagingSupervisedUsers())); |
+ ResolveJavascriptCallback(*callback_id, |
+ base::Value(IsProfileManagingSupervisedUsers())); |
} |
void ProfileInfoHandler::PushProfileInfo() { |
@@ -179,7 +179,7 @@ void ProfileInfoHandler::PushProfileManagesSupervisedUsersStatus() { |
CallJavascriptFunction( |
"cr.webUIListenerCallback", |
base::StringValue(kProfileManagesSupervisedUsersChangedEventName), |
- base::FundamentalValue(IsProfileManagingSupervisedUsers())); |
+ base::Value(IsProfileManagingSupervisedUsers())); |
} |
std::unique_ptr<base::DictionaryValue> |