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

Unified Diff: third_party/WebKit/Source/wtf/StringExtras.h

Issue 2386843002: reflow comments in wtf (Closed)
Patch Set: comments (heh!) Created 4 years, 2 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 | « third_party/WebKit/Source/wtf/StdLibExtras.h ('k') | third_party/WebKit/Source/wtf/StringHasher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/StringExtras.h
diff --git a/third_party/WebKit/Source/wtf/StringExtras.h b/third_party/WebKit/Source/wtf/StringExtras.h
index 7edaa37b10d5008171bd30f843f9a4be85fd2d09..6544f6ecf4d35f663b12d2fddf5ea99b0791e013 100644
--- a/third_party/WebKit/Source/wtf/StringExtras.h
+++ b/third_party/WebKit/Source/wtf/StringExtras.h
@@ -47,8 +47,8 @@ inline int snprintf(char* buffer, size_t count, const char* format, ...) {
result = _vsnprintf(buffer, count, format, args);
va_end(args);
- // In the case where the string entirely filled the buffer, _vsnprintf will not
- // null-terminate it, but snprintf must.
+ // In the case where the string entirely filled the buffer, _vsnprintf will
+ // not null-terminate it, but snprintf must.
if (count > 0)
buffer[count - 1] = '\0';
@@ -61,8 +61,8 @@ inline double wtf_vsnprintf(char* buffer,
va_list args) {
int result = _vsnprintf(buffer, count, format, args);
- // In the case where the string entirely filled the buffer, _vsnprintf will not
- // null-terminate it, but vsnprintf must.
+ // In the case where the string entirely filled the buffer, _vsnprintf will
+ // not null-terminate it, but vsnprintf must.
if (count > 0)
buffer[count - 1] = '\0';
« no previous file with comments | « third_party/WebKit/Source/wtf/StdLibExtras.h ('k') | third_party/WebKit/Source/wtf/StringHasher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698