Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7398)

Unified Diff: chrome/browser/ui/webui/settings/profile_info_handler.cc

Issue 2476493003: Remove FundamentalValue
Patch Set: Fix Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 2acd3c5944ae336f3c84a46018cea0d340921efd..0532d3da251f4d0d6aefde1605593eafc5e84b80 100644
--- a/chrome/browser/ui/webui/settings/profile_info_handler.cc
+++ b/chrome/browser/ui/webui/settings/profile_info_handler.cc
@@ -118,7 +118,7 @@ void ProfileInfoHandler::HandleGetProfileManagesSupervisedUsers(
CHECK(args->Get(0, &callback_id));
ResolveJavascriptCallback(
- *callback_id, base::FundamentalValue(IsProfileManagingSupervisedUsers()));
+ *callback_id, base::Value(IsProfileManagingSupervisedUsers()));
}
void ProfileInfoHandler::PushProfileInfo() {
@@ -131,7 +131,7 @@ void ProfileInfoHandler::PushProfileManagesSupervisedUsersStatus() {
CallJavascriptFunction(
"cr.webUIListenerCallback",
base::StringValue(kProfileManagesSupervisedUsersChangedEventName),
- base::FundamentalValue(IsProfileManagingSupervisedUsers()));
+ base::Value(IsProfileManagingSupervisedUsers()));
}
std::unique_ptr<base::DictionaryValue>

Powered by Google App Engine
This is Rietveld 408576698