Chromium Code Reviews| 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..b064f5d0a2056ce585e8b4e0692a7b506cb1e0ad 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(); } |
|
Ryan Hamilton
2014/07/02 19:31:31
Why did this change?
dmz
2014/07/02 20:58:39
Because headers_ might be null. However, I'm undoi
|
| const base::StringPiece body() const { return base::StringPiece(body_); } |
| private: |