Index: net/http/http_stream_parser.cc |
diff --git a/net/http/http_stream_parser.cc b/net/http/http_stream_parser.cc |
index 460d9b7e5dca8e532b532cbb48b6aba4effcb75c..2ff9bb0394759a968ae437dc9c2931fc6fe40c4f 100644 |
--- a/net/http/http_stream_parser.cc |
+++ b/net/http/http_stream_parser.cc |
@@ -644,7 +644,7 @@ void HttpStreamParser::SetConnectionReused() { |
} |
void HttpStreamParser::GetSSLInfo(SSLInfo* ssl_info) { |
- if (request_->url.SchemeIs("https") && connection_->socket()) { |
+ if ((request_->url.SchemeIs("https")) && connection_->socket()) { |
SSLClientSocket* ssl_socket = |
static_cast<SSLClientSocket*>(connection_->socket()); |
ssl_socket->GetSSLInfo(ssl_info); |
@@ -653,7 +653,7 @@ void HttpStreamParser::GetSSLInfo(SSLInfo* ssl_info) { |
void HttpStreamParser::GetSSLCertRequestInfo( |
SSLCertRequestInfo* cert_request_info) { |
- if (request_->url.SchemeIs("https") && connection_->socket()) { |
+ if ((request_->url.SchemeIs("https")) && connection_->socket()) { |
SSLClientSocket* ssl_socket = |
static_cast<SSLClientSocket*>(connection_->socket()); |
ssl_socket->GetSSLCertRequestInfo(cert_request_info); |