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

Unified Diff: net/quic/quic_in_memory_cache.h

Issue 504953003: Remove implicit conversions from scoped_refptr to T* in net/quic/ (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/quic/quic_http_stream.cc ('k') | net/quic/quic_spdy_server_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_in_memory_cache.h
diff --git a/net/quic/quic_in_memory_cache.h b/net/quic/quic_in_memory_cache.h
index e37ce2bdf9e9f6034df49418081d35b0f369b3bc..9f0418c6ab4a9d132fc5164ac894867db82a33ed 100644
--- a/net/quic/quic_in_memory_cache.h
+++ b/net/quic/quic_in_memory_cache.h
@@ -44,7 +44,7 @@ class QuicInMemoryCache {
~Response();
SpecialResponseType response_type() const { return response_type_; }
- const HttpResponseHeaders& headers() const { return *headers_; }
+ const HttpResponseHeaders& headers() const { return *headers_.get(); }
const base::StringPiece body() const { return base::StringPiece(body_); }
private:
« no previous file with comments | « net/quic/quic_http_stream.cc ('k') | net/quic/quic_spdy_server_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698