diff options
author | mef <mef@chromium.org> | 2016-01-08 11:45:13 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-08 19:46:48 +0000 |
commit | e4f94e701da63e008a1e847b5aa3ecd310490211 (patch) | |
tree | c4308a07d0290e9b898b44c8bae00b79745c6e4a /net | |
parent | c6bb2bc3194209306f79d427ef3bcbb7a4f57dfc (diff) | |
download | chromium_src-e4f94e701da63e008a1e847b5aa3ecd310490211.zip chromium_src-e4f94e701da63e008a1e847b5aa3ecd310490211.tar.gz chromium_src-e4f94e701da63e008a1e847b5aa3ecd310490211.tar.bz2 |
Fix HttpStreamFactoryImpl::RequestBidirectionalStreamJob build error.
Cronet builds were broken by https://codereview.chromium.org/1540463003 that have changed constructor signature.
BUG=570098
Review URL: https://codereview.chromium.org/1570803002
Cr-Commit-Position: refs/heads/master@{#368415}
Diffstat (limited to 'net')
-rw-r--r-- | net/http/http_stream_factory_impl.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/http/http_stream_factory_impl.cc b/net/http/http_stream_factory_impl.cc index 8f93dc4..12d14a2 100644 --- a/net/http/http_stream_factory_impl.cc +++ b/net/http/http_stream_factory_impl.cc @@ -92,11 +92,13 @@ HttpStreamRequest* HttpStreamFactoryImpl::RequestBidirectionalStreamJob( // TODO(xunjieli): Create QUIC's version of BidirectionalStreamJob. #if defined(ENABLE_BIDIRECTIONAL_STREAM) + HostPortPair server = HostPortPair::FromURL(request_info.url); + GURL origin_url = ApplyHostMappingRules(request_info.url, &server); Request* request = new Request(request_info.url, this, delegate, nullptr, net_log, Request::BIDIRECTIONAL_STREAM_SPDY_JOB); Job* job = new Job(this, session_, request_info, priority, server_ssl_config, - proxy_ssl_config, net_log.net_log()); + proxy_ssl_config, server, origin_url, net_log.net_log()); request->AttachJob(job); job->Start(request); |