Index: remoting/host/setup/me2me_native_messaging_host.cc |
diff --git a/remoting/host/setup/me2me_native_messaging_host.cc b/remoting/host/setup/me2me_native_messaging_host.cc |
index 5d724b0ab012de6b8763c75177c0fd75e93ed3d0..b7183b08225e733ef6fe440d992405dbc75db6ae 100644 |
--- a/remoting/host/setup/me2me_native_messaging_host.cc |
+++ b/remoting/host/setup/me2me_native_messaging_host.cc |
@@ -537,7 +537,7 @@ void Me2MeNativeMessagingHost::EnsureElevatedHostCreated() { |
// Create a security descriptor that gives full access to the caller and |
// denies access by anyone else. |
std::string security_descriptor = base::StringPrintf( |
- "O:%1$sG:%1$sD:(A;;GA;;;%1$s)", WideToASCII(user_sid).c_str()); |
+ "O:%1$sG:%1$sD:(A;;GA;;;%1$s)", base::UTF16ToASCII(user_sid).c_str()); |
ScopedSd sd = ConvertSddlToSd(security_descriptor); |
if (!sd) { |