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

Unified Diff: net/tools/quic/quic_spdy_client_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/tools/quic/quic_socket_utils.cc ('k') | net/tools/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/tools/quic/quic_spdy_client_stream.cc
diff --git a/net/tools/quic/quic_spdy_client_stream.cc b/net/tools/quic/quic_spdy_client_stream.cc
index 394b52be0b68261d74fb484a0c8a6902c5a15440..0237b89fe5f0966f85517b4d1a773485aa67da36 100644
--- a/net/tools/quic/quic_spdy_client_stream.cc
+++ b/net/tools/quic/quic_spdy_client_stream.cc
@@ -82,12 +82,12 @@ ssize_t QuicSpdyClientStream::SendRequest(const BalsaHeaders& headers,
bool send_fin_with_headers = fin && body.empty();
size_t bytes_sent = body.size();
- header_bytes_written_ = WriteHeaders(
- header_block, send_fin_with_headers, NULL);
+ header_bytes_written_ =
+ WriteHeaders(header_block, send_fin_with_headers, nullptr);
bytes_sent += header_bytes_written_;
if (!body.empty()) {
- WriteOrBufferData(body, fin, NULL);
+ WriteOrBufferData(body, fin, nullptr);
}
return bytes_sent;
@@ -120,7 +120,7 @@ int QuicSpdyClientStream::ParseResponseHeaders() {
// Sends body data to the server and returns the number of bytes sent.
void QuicSpdyClientStream::SendBody(const string& data, bool fin) {
- WriteOrBufferData(data, fin, NULL);
+ WriteOrBufferData(data, fin, nullptr);
}
} // namespace tools
« no previous file with comments | « net/tools/quic/quic_socket_utils.cc ('k') | net/tools/quic/quic_spdy_server_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698