Index: net/http/http_stream_factory_impl_job.cc |
diff --git a/net/http/http_stream_factory_impl_job.cc b/net/http/http_stream_factory_impl_job.cc |
index 480a575f59d8174556d653e7219e6164257f8435..fa7eba5f18b7e56d906863888f58e399127125b7 100644 |
--- a/net/http/http_stream_factory_impl_job.cc |
+++ b/net/http/http_stream_factory_impl_job.cc |
@@ -391,8 +391,8 @@ int HttpStreamFactoryImpl::Job::OnHostResolution( |
// ClientSocketPoolManager will be destroyed in the same callback that |
// destroys the SpdySessionPool. |
bool has_session = |
- spdy_session_pool->GetIfExists(spdy_session_key, net_log) != NULL; |
- return has_session ? ERR_SPDY_SESSION_ALREADY_EXISTS : OK; |
+ spdy_session_pool->GetIfExists(spdy_session_key, net_log).get() != NULL; |
+ return has_session ? ERR_SPDY_SESSION_ALREADY_EXISTS : OK; |
} |
void HttpStreamFactoryImpl::Job::OnIOComplete(int result) { |