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

Unified Diff: net/quic/quic_spdy_server_stream.cc

Issue 612323013: QUIC - (no behavior change) s/NULL/nullptr/g in .../quic/... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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_session_test.cc ('k') | net/quic/quic_stream_factory.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 0e4ce00d515b247b8b39175512777af60b426881..b0f8abb2ce939a2760edcf9b8c8cffe27982e514 100644
--- a/net/quic/quic_spdy_server_stream.cc
+++ b/net/quic/quic_spdy_server_stream.cc
@@ -112,7 +112,7 @@ void QuicSpdyServerStream::SendResponse() {
// Find response in cache. If not found, send error response.
const QuicInMemoryCache::Response* response =
QuicInMemoryCache::GetInstance()->GetResponse(request_url_);
- if (response == NULL) {
+ if (response == nullptr) {
SendErrorResponse();
return;
}
@@ -153,10 +153,10 @@ void QuicSpdyServerStream::SendHeadersAndBody(
kDefaultSpdyMajorVersion,
&header_block);
- WriteHeaders(header_block, body.empty(), NULL);
+ WriteHeaders(header_block, body.empty(), nullptr);
if (!body.empty()) {
- WriteOrBufferData(body, true, NULL);
+ WriteOrBufferData(body, true, nullptr);
}
}
« no previous file with comments | « net/quic/quic_session_test.cc ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698