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

Unified Diff: chrome/browser/ui/webui/options/easy_unlock_handler.cc

Issue 1995113002: Rename WebUI::CallJavascriptFunction to WebUI::CallJavascriptFunctionUnsafe (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months 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/options/easy_unlock_handler.cc
diff --git a/chrome/browser/ui/webui/options/easy_unlock_handler.cc b/chrome/browser/ui/webui/options/easy_unlock_handler.cc
index c352b23003f24df4c19e5367426bd8271592ca08..534913305a7ef35aa1eff12690164178f2ff9d85 100644
--- a/chrome/browser/ui/webui/options/easy_unlock_handler.cc
+++ b/chrome/browser/ui/webui/options/easy_unlock_handler.cc
@@ -90,8 +90,9 @@ void EasyUnlockHandler::SendTurnOffOperationStatus() {
status_string = "idle";
break;
}
- web_ui()->CallJavascriptFunction("EasyUnlockTurnOffOverlay.updateUIState",
- base::StringValue(status_string));
+ web_ui()->CallJavascriptFunctionUnsafe(
+ "EasyUnlockTurnOffOverlay.updateUIState",
+ base::StringValue(status_string));
}
void EasyUnlockHandler::HandleGetTurnOffFlowStatus(
« no previous file with comments | « chrome/browser/ui/webui/options/create_profile_handler.cc ('k') | chrome/browser/ui/webui/options/font_settings_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698