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

Unified Diff: remoting/host/win/launch_process_with_token.cc

Issue 2048523002: Fix base::GetNativeLibraryName() for Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@native_lib_clean
Patch Set: Remove string16 version of GetNativeLibraryName 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: remoting/host/win/launch_process_with_token.cc
diff --git a/remoting/host/win/launch_process_with_token.cc b/remoting/host/win/launch_process_with_token.cc
index 04a6660dfabace20b536c7a4940491b1cd249e27..63bd7c08efc389b63f9667018ef89d23c22065bd 100644
--- a/remoting/host/win/launch_process_with_token.cc
+++ b/remoting/host/win/launch_process_with_token.cc
@@ -61,7 +61,7 @@ bool ConnectToExecutionServer(uint32_t session_id,
// Use winsta!WinStationQueryInformationW() to determine the process creation
// pipe name for the session.
base::FilePath winsta_path(
- base::GetNativeLibraryName(base::UTF8ToUTF16("winsta")));
+ base::ASCIIToUTF16(base::GetNativeLibraryName("winsta")));
base::ScopedNativeLibrary winsta(winsta_path);
if (winsta.is_valid()) {
PWINSTATIONQUERYINFORMATIONW win_station_query_information =

Powered by Google App Engine
This is Rietveld 408576698