| Index: chrome/browser/ui/webui/ntp/app_launcher_handler.cc
|
| diff --git a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
|
| index a8c2df64327b99da934c88f7f951944c1b28fd5f..1e24ef507a5fd777b399c59aadd92c51ed3e2659 100644
|
| --- a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
|
| +++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
|
| @@ -347,7 +347,7 @@ void AppLauncherHandler::OnExtensionLoaded(
|
|
|
| visible_apps_.insert(extension->id());
|
| ExtensionPrefs* prefs = ExtensionPrefs::Get(extension_service_->profile());
|
| - base::FundamentalValue highlight(prefs->IsFromBookmark(extension->id()) &&
|
| + base::Value highlight(prefs->IsFromBookmark(extension->id()) &&
|
| attempted_bookmark_app_install_);
|
| attempted_bookmark_app_install_ = false;
|
| web_ui()->CallJavascriptFunctionUnsafe("ntp.appAdded", *app_info, highlight);
|
| @@ -801,7 +801,7 @@ void AppLauncherHandler::OnLocalStatePreferenceChanged() {
|
| #if BUILDFLAG(ENABLE_APP_LIST)
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| "ntp.appLauncherPromoPrefChangeCallback",
|
| - base::FundamentalValue(g_browser_process->local_state()->GetBoolean(
|
| + base::Value(g_browser_process->local_state()->GetBoolean(
|
| prefs::kShowAppLauncherPromo)));
|
| #endif
|
| }
|
| @@ -880,8 +880,8 @@ void AppLauncherHandler::AppRemoved(const Extension* extension,
|
| return;
|
|
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| - "ntp.appRemoved", *app_info, base::FundamentalValue(is_uninstall),
|
| - base::FundamentalValue(!extension_id_prompting_.empty()));
|
| + "ntp.appRemoved", *app_info, base::Value(is_uninstall),
|
| + base::Value(!extension_id_prompting_.empty()));
|
| }
|
|
|
| bool AppLauncherHandler::ShouldShow(const Extension* extension) const {
|
|
|