Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(610)

Unified Diff: net/socket_stream/socket_stream.cc

Issue 509563003: Remove implicit conversions from scoped_refptr to T* in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/server/http_server_unittest.cc ('k') | net/spdy/spdy_session_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « net/server/http_server_unittest.cc ('k') | net/spdy/spdy_session_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698