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 |