summaryrefslogtreecommitdiffstats
path: root/url/url_canon_etc.cc
diff options
context:
space:
mode:
authorqyearsley <qyearsley@chromium.org>2015-08-14 13:17:15 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-14 20:17:42 +0000
commit2bc727de36df5826011630b13e1ae86f349f1486 (patch)
tree9bbc2727a3b579a4c0454d249dafd118b07a523f /url/url_canon_etc.cc
parent1c92d5b76e02a23ca199ad912be42976335d1691 (diff)
downloadchromium_src-2bc727de36df5826011630b13e1ae86f349f1486.zip
chromium_src-2bc727de36df5826011630b13e1ae86f349f1486.tar.gz
chromium_src-2bc727de36df5826011630b13e1ae86f349f1486.tar.bz2
Proof-read comments in src/url/.
Review URL: https://codereview.chromium.org/1270443006 Cr-Commit-Position: refs/heads/master@{#343473}
Diffstat (limited to 'url/url_canon_etc.cc')
-rw-r--r--url/url_canon_etc.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/url/url_canon_etc.cc b/url/url_canon_etc.cc
index 7409efd..e9da94c 100644
--- a/url/url_canon_etc.cc
+++ b/url/url_canon_etc.cc
@@ -95,9 +95,9 @@ bool DoScheme(const CHAR* spec,
// The output scheme starts from the current position.
out_scheme->begin = output->length();
- // Danger: it's important that this code does not strip any characters: it
- // only emits the canonical version (be it valid or escaped) of each of
- // the input characters. Stripping would put it out of sync with
+ // Danger: it's important that this code does not strip any characters;
+ // it only emits the canonical version (be it valid or escaped) for each
+ // of the input characters. Stripping would put it out of sync with
// FindAndCompareScheme, which could cause some security checks on
// schemes to be incorrect.
bool success = true;
@@ -218,7 +218,7 @@ bool DoPort(const CHAR* spec,
char buf[buf_size];
WritePortInt(buf, buf_size, port_num);
- // Append the port number to the output, preceeded by a colon.
+ // Append the port number to the output, preceded by a colon.
output->push_back(':');
out_port->begin = output->length();
for (int i = 0; i < buf_size && buf[i]; i++)