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

Unified Diff: src/utils.h

Issue 795383003: Don't use AddSubstring for external natives (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates 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
« src/natives-external.cc ('K') | « src/natives-external.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils.h
diff --git a/src/utils.h b/src/utils.h
index d5685c98207d3a2211919f4a0dbbafef2b980304..525c6f87d3d96fbd8504a00474981675c1c1f74d 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -863,7 +863,7 @@ class SimpleStringBuilder {
// compute the length of the input string.
void AddString(const char* s);
- // Add the first 'n' characters of the given string 's' to the
+ // Add the first 'n' characters of the given 0-terminated string 's' to the
// builder. The input string must have enough characters.
void AddSubstring(const char* s, int n);
« src/natives-external.cc ('K') | « src/natives-external.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698