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

Unified Diff: chrome/browser/ui/webui/history_login_handler.cc

Issue 2456783006: MD History: fix script errors when navigating to /syncedTabs (or refreshing) (Closed)
Patch Set: found one more stale dep 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
« no previous file with comments | « chrome/browser/resources/md_history/compiled_resources2.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2d647084f82178c2575f4434be9b0ea0f591c35f..01d39372604155ab7407d040b52c0da7028bf9e2 100644
--- a/chrome/browser/ui/webui/history_login_handler.cc
+++ b/chrome/browser/ui/webui/history_login_handler.cc
@@ -49,8 +49,7 @@ void HistoryLoginHandler::ProfileInfoChanged() {
signin_callback_.Run();
if (IsJavascriptAllowed()) {
- CallJavascriptFunction("cr.webUIListenerCallback",
- base::StringValue("sign-in-state-updated"),
+ CallJavascriptFunction("updateSignInState",
base::FundamentalValue(signed_in));
}
}
« no previous file with comments | « chrome/browser/resources/md_history/compiled_resources2.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698