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

Unified Diff: chrome/browser/ui/webui/history_login_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/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 01d39372604155ab7407d040b52c0da7028bf9e2..b6fab82df27db618fe256ee8cc5ad892cfc3eb0d 100644
--- a/chrome/browser/ui/webui/history_login_handler.cc
+++ b/chrome/browser/ui/webui/history_login_handler.cc
@@ -48,10 +48,8 @@ void HistoryLoginHandler::ProfileInfoChanged() {
if (!signin_callback_.is_null())
signin_callback_.Run();
- if (IsJavascriptAllowed()) {
- CallJavascriptFunction("updateSignInState",
- base::FundamentalValue(signed_in));
- }
+ if (IsJavascriptAllowed())
+ CallJavascriptFunction("updateSignInState", base::Value(signed_in));
}
void HistoryLoginHandler::HandleStartSignInFlow(
« no previous file with comments | « chrome/browser/ui/webui/help/help_handler.cc ('k') | chrome/browser/ui/webui/invalidations_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698