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

Unified Diff: net/tools/quic/quic_client.cc

Issue 2101863004: net: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/end_to_end_test.cc ('k') | net/tools/quic/quic_simple_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_client.cc
diff --git a/net/tools/quic/quic_client.cc b/net/tools/quic/quic_client.cc
index ca015ac6556a2f02e6fb2ada6e31ba8ec2fe1ce8..224859e0537ae68546dda7a28ac3e6262efc4e5e 100644
--- a/net/tools/quic/quic_client.cc
+++ b/net/tools/quic/quic_client.cc
@@ -291,7 +291,7 @@ void QuicClient::SendRequest(const BalsaHeaders& headers,
if (rv == QUIC_PENDING) {
// May need to retry request if asynchronous rendezvous fails.
- auto new_headers = new BalsaHeaders;
+ auto* new_headers = new BalsaHeaders;
new_headers->CopyFrom(headers);
push_promise_data_to_resend_.reset(
new ClientQuicDataToResend(new_headers, body, fin, this));
@@ -307,9 +307,9 @@ void QuicClient::SendRequest(const BalsaHeaders& headers,
body, fin);
if (FLAGS_enable_quic_stateless_reject_support) {
// Record this in case we need to resend.
- auto new_headers = new BalsaHeaders;
+ auto* new_headers = new BalsaHeaders;
new_headers->CopyFrom(headers);
- auto data_to_resend =
+ auto* data_to_resend =
new ClientQuicDataToResend(new_headers, body, fin, this);
MaybeAddQuicDataToResend(data_to_resend);
}
« no previous file with comments | « net/tools/quic/end_to_end_test.cc ('k') | net/tools/quic/quic_simple_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698