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

Unified Diff: net/quic/quic_spdy_server_stream.cc

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_in_memory_cache.h ('k') | net/quic/quic_stream_factory_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_spdy_server_stream.cc
diff --git a/net/quic/quic_spdy_server_stream.cc b/net/quic/quic_spdy_server_stream.cc
index 6038ccb1ddff0b550b88d1cde22ea8f7d9cc325e..0e4ce00d515b247b8b39175512777af60b426881 100644
--- a/net/quic/quic_spdy_server_stream.cc
+++ b/net/quic/quic_spdy_server_stream.cc
@@ -137,7 +137,7 @@ void QuicSpdyServerStream::SendErrorResponse() {
scoped_refptr<HttpResponseHeaders> headers
= new HttpResponseHeaders(string("HTTP/1.1 500 Server Error") + '\0' +
"content-length: 3" + '\0' + '\0');
- SendHeadersAndBody(*headers, "bad");
+ SendHeadersAndBody(*headers.get(), "bad");
}
void QuicSpdyServerStream::SendHeadersAndBody(
« no previous file with comments | « net/quic/quic_in_memory_cache.h ('k') | net/quic/quic_stream_factory_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698