Index: components/proximity_auth/webui/proximity_auth_webui_handler.cc |
diff --git a/components/proximity_auth/webui/proximity_auth_webui_handler.cc b/components/proximity_auth/webui/proximity_auth_webui_handler.cc |
index 834d8af0dfe4cbf857d16180b31ffa86418010dd..943a485dbb687095f8c405403111058c70f3c9a8 100644 |
--- a/components/proximity_auth/webui/proximity_auth_webui_handler.cc |
+++ b/components/proximity_auth/webui/proximity_auth_webui_handler.cc |
@@ -368,7 +368,7 @@ void ProximityAuthWebUIHandler::ToggleConnection(const base::ListValue* args) { |
void ProximityAuthWebUIHandler::OnCryptAuthClientError( |
const std::string& error_message) { |
PA_LOG(WARNING) << "CryptAuth request failed: " << error_message; |
- base::StringValue error_string(error_message); |
+ base::Value error_string(error_message); |
web_ui()->CallJavascriptFunctionUnsafe("CryptAuthInterface.onError", |
error_string); |
} |