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

Unified Diff: net/http2/decoder/payload_decoders/ping_payload_decoder.cc

Issue 2691393002: Fix auto raw pointer deduction on linux (Closed)
Patch Set: rebase Created 3 years, 10 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/http/http_response_headers_unittest.cc ('k') | net/http2/hpack/decoder/hpack_decoder_tables.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http2/decoder/payload_decoders/ping_payload_decoder.cc
diff --git a/net/http2/decoder/payload_decoders/ping_payload_decoder.cc b/net/http2/decoder/payload_decoders/ping_payload_decoder.cc
index abe43d0a6a2d633afdaabd0523ee3b1f80e30202..d8edbb0b827c46928b1d51d4abe2e20399aba5c0 100644
--- a/net/http2/decoder/payload_decoders/ping_payload_decoder.cc
+++ b/net/http2/decoder/payload_decoders/ping_payload_decoder.cc
@@ -34,7 +34,7 @@ DecodeStatus PingPayloadDecoder::StartDecodingPayload(FrameDecoderState* state,
// This supports the claim that this decoder is (mostly) non-buffering.
static_assert(sizeof(Http2PingFields) == kOpaqueSize,
"If not, then can't enter this block!");
- auto ping = reinterpret_cast<const Http2PingFields*>(db->cursor());
+ auto* ping = reinterpret_cast<const Http2PingFields*>(db->cursor());
if (frame_header.IsAck()) {
state->listener()->OnPingAck(frame_header, *ping);
} else {
« no previous file with comments | « net/http/http_response_headers_unittest.cc ('k') | net/http2/hpack/decoder/hpack_decoder_tables.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698