Index: components/gcm_driver/gcm_client_impl.cc |
diff --git a/components/gcm_driver/gcm_client_impl.cc b/components/gcm_driver/gcm_client_impl.cc |
index a0b30d5f9cbd1d9a2016b7bf01b36e1a776aac34..8754ba29f84861d58ca02b9409a8aef37c9bcbaf 100644 |
--- a/components/gcm_driver/gcm_client_impl.cc |
+++ b/components/gcm_driver/gcm_client_impl.cc |
@@ -325,7 +325,11 @@ void GCMClientImpl::Initialize( |
url_request_context_getter_->GetURLRequestContext()-> |
GetNetworkSessionParams(); |
DCHECK(network_session_params); |
- network_session_.reset(new net::HttpNetworkSession(*network_session_params)); |
+ const net::HttpNetworkSession::Context* network_session_context = |
+ url_request_context_getter_->GetURLRequestContext() |
+ ->GetNetworkSessionContext(); |
+ network_session_.reset(new net::HttpNetworkSession(*network_session_params, |
+ *network_session_context)); |
chrome_build_info_ = chrome_build_info; |