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

Unified Diff: chrome/browser/ui/webui/chromeos/cryptohome_web_ui_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/chromeos/cryptohome_web_ui_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/cryptohome_web_ui_handler.cc b/chrome/browser/ui/webui/chromeos/cryptohome_web_ui_handler.cc
index 733db376b14a93f6835ac2b81f53a6e58bd2d327..83807e9be8db00e305020ce02eeb3c359f0a6fcf 100644
--- a/chrome/browser/ui/webui/chromeos/cryptohome_web_ui_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/cryptohome_web_ui_handler.cc
@@ -77,8 +77,8 @@ void CryptohomeWebUIHandler::SetCryptohomeProperty(
const std::string& destination_id,
const base::Value& value) {
base::StringValue destination_id_value(destination_id);
- web_ui()->CallJavascriptFunction(
- "SetCryptohomeProperty", destination_id_value, value);
+ web_ui()->CallJavascriptFunctionUnsafe("SetCryptohomeProperty",
+ destination_id_value, value);
}
} // namespace chromeos
« no previous file with comments | « chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc ('k') | chrome/browser/ui/webui/chromeos/drive_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698