| Index: net/spdy/spdy_proxy_client_socket.cc
|
| diff --git a/net/spdy/spdy_proxy_client_socket.cc b/net/spdy/spdy_proxy_client_socket.cc
|
| index 096599c0feb1e32b4ee81830f4b579479971e29c..bfbc722005da7d6df2e2aef22086a77657d37372 100644
|
| --- a/net/spdy/spdy_proxy_client_socket.cc
|
| +++ b/net/spdy/spdy_proxy_client_socket.cc
|
| @@ -67,7 +67,7 @@ SpdyProxyClientSocket::~SpdyProxyClientSocket() {
|
| }
|
|
|
| const HttpResponseInfo* SpdyProxyClientSocket::GetConnectResponseInfo() const {
|
| - return response_.headers ? &response_ : NULL;
|
| + return response_.headers.get() ? &response_ : NULL;
|
| }
|
|
|
| const scoped_refptr<HttpAuthController>&
|
| @@ -192,7 +192,7 @@ bool SpdyProxyClientSocket::GetSSLInfo(SSLInfo* ssl_info) {
|
| int SpdyProxyClientSocket::Read(IOBuffer* buf, int buf_len,
|
| const CompletionCallback& callback) {
|
| DCHECK(read_callback_.is_null());
|
| - DCHECK(!user_buffer_);
|
| + DCHECK(!user_buffer_.get());
|
|
|
| if (next_state_ == STATE_DISCONNECTED)
|
| return ERR_SOCKET_NOT_CONNECTED;
|
| @@ -422,7 +422,7 @@ int SpdyProxyClientSocket::DoReadReplyComplete(int result) {
|
|
|
| case 407: // Proxy Authentication Required
|
| next_state_ = STATE_OPEN;
|
| - return HandleProxyAuthChallenge(auth_, &response_, net_log_);
|
| + return HandleProxyAuthChallenge(auth_.get(), &response_, net_log_);
|
|
|
| default:
|
| // Ignore response to avoid letting the proxy impersonate the target
|
|
|