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

Unified Diff: net/proxy/proxy_resolver_v8.cc

Issue 816543004: Update from https://crrev.com/308996 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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 | « net/http/transport_security_state_static.json ('k') | net/quic/congestion_control/cubic.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_resolver_v8.cc
diff --git a/net/proxy/proxy_resolver_v8.cc b/net/proxy/proxy_resolver_v8.cc
index 57ee7147d02eb1c08c7051e86101334622cee341..693fbb24837ff84b01f7ffd4bd5018c6e3b77944 100644
--- a/net/proxy/proxy_resolver_v8.cc
+++ b/net/proxy/proxy_resolver_v8.cc
@@ -339,8 +339,8 @@ bool IsPlainHostName(const std::string& hostname_utf8) {
if (hostname_utf8.find('.') != std::string::npos)
return false;
- // IPv6 addresses may not contain periods, however are not be considered a
- // plain host name.
+ // IPv6 literals might not contain any periods, however are not considered
+ // plain host names.
IPAddressNumber unused;
return !ParseIPLiteralToNumber(hostname_utf8, &unused);
}
« no previous file with comments | « net/http/transport_security_state_static.json ('k') | net/quic/congestion_control/cubic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698