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

Unified Diff: url/url_canon_internal.cc

Issue 1270443006: Proof-read comments in src/url/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: url/url_canon_internal.cc
diff --git a/url/url_canon_internal.cc b/url/url_canon_internal.cc
index 1554814c1184e5ff04bedac5cc07417782f99551..164c6cf041e57f93e337aaf90190bbf560e1e0e3 100644
--- a/url/url_canon_internal.cc
+++ b/url/url_canon_internal.cc
@@ -249,9 +249,9 @@ void AppendStringOfType(const base::char16* source, int length,
bool ReadUTFChar(const char* str, int* begin, int length,
unsigned* code_point_out) {
- // This depends on ints and int32s being the same thing. If they're not, it
+ // This depends on ints and int32s being the same thing. If they're not, it
// will fail to compile.
- // TODO(mmenke): This should probably be fixed.
+ // TODO(mmenke): This should probably be fixed.
if (!base::ReadUnicodeCharacter(str, length, begin, code_point_out) ||
!base::IsValidCharacter(*code_point_out)) {
*code_point_out = kUnicodeReplacementCharacter;
@@ -262,9 +262,9 @@ bool ReadUTFChar(const char* str, int* begin, int length,
bool ReadUTFChar(const base::char16* str, int* begin, int length,
unsigned* code_point_out) {
- // This depends on ints and int32s being the same thing. If they're not, it
+ // This depends on ints and int32s being the same thing. If they're not, it
// will fail to compile.
- // TODO(mmenke): This should probably be fixed.
+ // TODO(mmenke): This should probably be fixed.
if (!base::ReadUnicodeCharacter(str, length, begin, code_point_out) ||
!base::IsValidCharacter(*code_point_out)) {
*code_point_out = kUnicodeReplacementCharacter;
« url/gurl.h ('K') | « url/url_canon_internal.h ('k') | url/url_canon_internal_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698