| Index: net/http/http_network_layer.cc
|
| diff --git a/net/http/http_network_layer.cc b/net/http/http_network_layer.cc
|
| index b326438d2950b2c2a8f0887cf3ce4b5682a2a720..618fc50be9176c2f3982270da6c148e7dbe97498 100644
|
| --- a/net/http/http_network_layer.cc
|
| +++ b/net/http/http_network_layer.cc
|
| @@ -116,13 +116,13 @@ HttpCache* HttpNetworkLayer::GetCache() {
|
| }
|
|
|
| HttpNetworkSession* HttpNetworkLayer::GetSession() {
|
| - return session_;
|
| + return session_.get();
|
| }
|
|
|
| void HttpNetworkLayer::OnSuspend() {
|
| suspended_ = true;
|
|
|
| - if (session_)
|
| + if (session_.get())
|
| session_->CloseIdleConnections();
|
| }
|
|
|
|
|