Index: chrome/browser/ui/webui/history_login_handler.cc |
diff --git a/chrome/browser/ui/webui/history_login_handler.cc b/chrome/browser/ui/webui/history_login_handler.cc |
index 55b83a9f0e64cfb2333b00599a9460421b36d0d1..c83c72f2abcd227ceb4bec79a3daa6805cfe6ddd 100644 |
--- a/chrome/browser/ui/webui/history_login_handler.cc |
+++ b/chrome/browser/ui/webui/history_login_handler.cc |
@@ -32,6 +32,6 @@ void HistoryLoginHandler::HandleOtherDevicesInitialized( |
void HistoryLoginHandler::ProfileInfoChanged() { |
bool signed_in = !profile_info_watcher_->GetAuthenticatedUsername().empty(); |
- web_ui()->CallJavascriptFunction( |
- "updateSignInState", base::FundamentalValue(signed_in)); |
+ web_ui()->CallJavascriptFunctionUnsafe("updateSignInState", |
+ base::FundamentalValue(signed_in)); |
} |