diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-17 05:35:06 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-17 05:35:06 +0000 |
commit | d510a78cd1aef9c2bdc692c79bae4a89f4851a98 (patch) | |
tree | 1a81aa485c053d3e66ca3ba79f5563838e63ba85 /net/http/http_network_layer.cc | |
parent | a05725888f71e72e3335d265e47643fd2768e39f (diff) | |
download | chromium_src-d510a78cd1aef9c2bdc692c79bae4a89f4851a98.zip chromium_src-d510a78cd1aef9c2bdc692c79bae4a89f4851a98.tar.gz chromium_src-d510a78cd1aef9c2bdc692c79bae4a89f4851a98.tar.bz2 |
This is roughly a reland of r43908, although I had to rewrite a fair chunk since code's changed a lot. I've changed it so as not to flush the host resolver too. I suspect there might have been a bug there. I was unable to reproduce the crash here on network change, so I think either that fixed it or something else changed under the hood. In any case, I want to reland this and see if anyone encounters any problems with it.
BUG=40455,40457
Review URL: http://codereview.chromium.org/2114004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47395 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_network_layer.cc')
-rw-r--r-- | net/http/http_network_layer.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/http/http_network_layer.cc b/net/http/http_network_layer.cc index 09ee5cd..d5ae8e3 100644 --- a/net/http/http_network_layer.cc +++ b/net/http/http_network_layer.cc @@ -103,10 +103,9 @@ void HttpNetworkLayer::Suspend(bool suspend) { HttpNetworkSession* HttpNetworkLayer::GetSession() { if (!session_) { DCHECK(proxy_service_); - SpdySessionPool* spdy_pool = new SpdySessionPool; session_ = new HttpNetworkSession( network_change_notifier_, host_resolver_, proxy_service_, - socket_factory_, ssl_config_service_, spdy_pool, + socket_factory_, ssl_config_service_, http_auth_handler_factory_); // These were just temps for lazy-initializing HttpNetworkSession. network_change_notifier_ = NULL; |