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

Unified Diff: net/tools/quic/test_tools/quic_test_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/quic_simple_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/test_tools/quic_test_client.cc
diff --git a/net/tools/quic/test_tools/quic_test_client.cc b/net/tools/quic/test_tools/quic_test_client.cc
index 5271ad18c2a5de98de50ea8ad9e2e2d1dc373001..f84a47fcb4be47cebcb4f13c7e951d8872d7fe4e 100644
--- a/net/tools/quic/test_tools/quic_test_client.cc
+++ b/net/tools/quic/test_tools/quic_test_client.cc
@@ -248,7 +248,7 @@ ssize_t QuicTestClient::GetOrCreateStreamAndSendRequest(
return 1;
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 TestClientDataToResend(new_headers, body, fin, this, delegate));
@@ -291,7 +291,7 @@ ssize_t QuicTestClient::GetOrCreateStreamAndSendRequest(
new_headers = new BalsaHeaders;
new_headers->CopyFrom(*headers);
}
- auto data_to_resend =
+ auto* data_to_resend =
new TestClientDataToResend(new_headers, body, fin, this, delegate);
client()->MaybeAddQuicDataToResend(data_to_resend);
}
« no previous file with comments | « net/tools/quic/quic_simple_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698