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

Unified Diff: base/native_library_win.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: base/native_library_win.cc
diff --git a/base/native_library_win.cc b/base/native_library_win.cc
index faf0bdba4be5fa3bbc74d4b960f6ea0adee4e7a9..da843db3c3ba33f2f17576d82c1fce4d7dad370e 100644
--- a/base/native_library_win.cc
+++ b/base/native_library_win.cc
@@ -80,8 +80,8 @@ void* GetFunctionPointerFromNativeLibrary(NativeLibrary library,
}
// static
-string16 GetNativeLibraryName(StringPiece16 name) {
- return name.as_string() + ASCIIToUTF16(".dll");
+std::string GetNativeLibraryName(StringPiece name) {
+ return name.as_string() + ".dll";
}
} // namespace base

Powered by Google App Engine
This is Rietveld 408576698