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

Unified Diff: runtime/bin/utils_android.cc

Issue 2285223003: Fix native extension lookup (Closed)
Patch Set: Update test for error message change Created 4 years, 4 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
« no previous file with comments | « runtime/bin/utils.h ('k') | runtime/bin/utils_fuchsia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/utils_android.cc
diff --git a/runtime/bin/utils_android.cc b/runtime/bin/utils_android.cc
index c7a4d63f98c57ccc7801fd751df3a2211745d232..8c6ad24b3d756b15609288ef79139942c596bac4 100644
--- a/runtime/bin/utils_android.cc
+++ b/runtime/bin/utils_android.cc
@@ -71,6 +71,11 @@ char* StringUtils::Utf8ToConsoleString(
}
+char* StringUtils::StrNDup(const char* s, intptr_t n) {
+ return strndup(s, n);
+}
+
+
bool ShellUtils::GetUtf8Argv(int argc, char** argv) {
return false;
}
« no previous file with comments | « runtime/bin/utils.h ('k') | runtime/bin/utils_fuchsia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698