Index: net/socket_stream/socket_stream.cc |
diff --git a/net/socket_stream/socket_stream.cc b/net/socket_stream/socket_stream.cc |
index f0f5538a65321946ff1b04da589dd9d5eb90f4d2..f19a2e928f90eb0c0d6232aaf16d07b30f4199e0 100644 |
--- a/net/socket_stream/socket_stream.cc |
+++ b/net/socket_stream/socket_stream.cc |
@@ -120,7 +120,7 @@ SocketStream::SocketStream(const GURL& url, Delegate* delegate, |
DCHECK(delegate_); |
if (context_) { |
- if (!cookie_store_) |
+ if (!cookie_store_.get()) |
cookie_store_ = context_->cookie_store(); |
net_log_ = BoundNetLog::Make( |
@@ -1351,7 +1351,7 @@ int SocketStream::HandleCertificateError(int result) { |
} |
CookieStore* SocketStream::cookie_store() const { |
- return cookie_store_; |
+ return cookie_store_.get(); |
} |
} // namespace net |