Index: net/url_request/url_request_http_job.cc |
=================================================================== |
--- net/url_request/url_request_http_job.cc (revision 113620) |
+++ net/url_request/url_request_http_job.cc (working copy) |
@@ -167,10 +167,6 @@ |
const std::string& scheme) { |
DCHECK(scheme == "http" || scheme == "https"); |
- int port = request->url().IntPort(); |
- if (!IsPortAllowedByDefault(port) && !IsPortAllowedByOverride(port)) |
- return new URLRequestErrorJob(request, ERR_UNSAFE_PORT); |
- |
if (!request->context() || |
!request->context()->http_transaction_factory()) { |
NOTREACHED() << "requires a valid context"; |