Index: remoting/host/plugin/daemon_controller_win.cc |
diff --git a/remoting/host/plugin/daemon_controller_win.cc b/remoting/host/plugin/daemon_controller_win.cc |
index 4b011dbd7993d77f5fa540067016e0e08ed9e44a..13f372520b77f66555d88beee0a22b90a5420e0f 100644 |
--- a/remoting/host/plugin/daemon_controller_win.cc |
+++ b/remoting/host/plugin/daemon_controller_win.cc |
@@ -290,8 +290,7 @@ DWORD DaemonControllerWin::OpenService(ScopedScHandle* service_out) { |
} |
ScopedScHandle service( |
- ::OpenServiceW(scmanager, UTF8ToUTF16(kWindowsServiceName).c_str(), |
- SERVICE_QUERY_STATUS)); |
+ ::OpenServiceW(scmanager, kWindowsServiceName, SERVICE_QUERY_STATUS)); |
if (!service.IsValid()) { |
DWORD error = GetLastError(); |
if (error != ERROR_SERVICE_DOES_NOT_EXIST) { |