summaryrefslogtreecommitdiffstats
path: root/net/spdy
diff options
context:
space:
mode:
Diffstat (limited to 'net/spdy')
-rw-r--r--net/spdy/spdy_session.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc
index 192baad..613d242 100644
--- a/net/spdy/spdy_session.cc
+++ b/net/spdy/spdy_session.cc
@@ -1061,12 +1061,9 @@ Value* SpdySession::GetInfoAsValue() const {
dict->SetBoolean("is_secure", is_secure_);
- NextProto proto = kProtoUnknown;
- if (is_secure_) {
- proto = GetSSLClientSocket()->GetNegotiatedProtocol();
- }
dict->SetString("protocol_negotiated",
- SSLClientSocket::NextProtoToString(proto));
+ SSLClientSocket::NextProtoToString(
+ connection_->socket()->GetNegotiatedProtocol()));
dict->SetInteger("error", error_);
dict->SetInteger("max_concurrent_streams", max_concurrent_streams_);