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

Unified Diff: base/native_library_ios.mm

Issue 2042103002: Clean up some nits in base::NativeLibrary. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_ios.mm
diff --git a/base/native_library_ios.mm b/base/native_library_ios.mm
index 60a11f2b4600f7d6bf9b3392c7769280fa839379..6ae7580d48d704882a0b2b7f65e6ae47e7a87a2f 100644
--- a/base/native_library_ios.mm
+++ b/base/native_library_ios.mm
@@ -29,14 +29,14 @@ void UnloadNativeLibrary(NativeLibrary library) {
// static
void* GetFunctionPointerFromNativeLibrary(NativeLibrary library,
- const char* name) {
+ StringPiece name) {
NOTIMPLEMENTED();
return nullptr;
}
// static
-string16 GetNativeLibraryName(const string16& name) {
- return name;
+string16 GetNativeLibraryName(StringPiece16 name) {
+ return name.as_string();
}
} // namespace base
« no previous file with comments | « base/native_library.h ('k') | base/native_library_mac.mm » ('j') | base/native_library_mac.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698