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

Unified Diff: util/stdlib/strlcpy.cc

Issue 804593002: Move string16 and char16 in to base:: (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: include roll of mini_chromium to 37bac7... Created 6 years 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 | « util/stdlib/strlcpy.h ('k') | util/stdlib/strlcpy_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/stdlib/strlcpy.cc
diff --git a/util/stdlib/strlcpy.cc b/util/stdlib/strlcpy.cc
index 5cf5ed3ec5afe4a3ed49363c6e659eb10996f302..90d6d96ecc71c55ce200e9fb70506ed4944f32ce 100644
--- a/util/stdlib/strlcpy.cc
+++ b/util/stdlib/strlcpy.cc
@@ -16,7 +16,9 @@
namespace crashpad {
-size_t c16lcpy(char16* destination, const char16* source, size_t length) {
+size_t c16lcpy(base::char16* destination,
+ const base::char16* source,
+ size_t length) {
size_t source_length = base::c16len(source);
if (source_length < length) {
base::c16memcpy(destination, source, source_length + 1);
« no previous file with comments | « util/stdlib/strlcpy.h ('k') | util/stdlib/strlcpy_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698