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( |