Index: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc |
diff --git a/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc |
index 87845e300a29832f383e47e051f6576b8f55c0f1..7bc47805b819516d95a16382a7a02281d4bad58b 100644 |
--- a/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc |
+++ b/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc |
@@ -182,10 +182,10 @@ void SigninScreenHandler::ShowError(int login_attempts, |
const std::string& error_text, |
const std::string& help_link_text, |
HelpAppLauncher::HelpTopic help_topic_id) { |
- base::FundamentalValue login_attempts_value(login_attempts); |
+ base::NumberValue login_attempts_value(login_attempts); |
base::StringValue error_message(error_text); |
base::StringValue help_link(help_link_text); |
- base::FundamentalValue help_id(static_cast<int>(help_topic_id)); |
+ base::NumberValue help_id(static_cast<int>(help_topic_id)); |
web_ui_->CallJavascriptFunction("cr.ui.Oobe.showSignInError", |
login_attempts_value, |
error_message, |
@@ -343,7 +343,7 @@ void SigninScreenHandler::SendUserList(bool animated) { |
} |
// Call the Javascript callback |
- base::FundamentalValue animated_value(animated); |
+ base::BooleanValue animated_value(animated); |
web_ui_->CallJavascriptFunction("login.AccountPickerScreen.loadUsers", |
users_list, animated_value); |
} |