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

Unified Diff: mojo/public/cpp/bindings/lib/message_header_validator.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 | « mojo/public/cpp/bindings/lib/message.cc ('k') | net/cookies/cookie_monster.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/lib/message_header_validator.cc
diff --git a/mojo/public/cpp/bindings/lib/message_header_validator.cc b/mojo/public/cpp/bindings/lib/message_header_validator.cc
index 56be241ed62d4e2d6b0c18485cee425fcd8faffd..9f8c6278c07d0c520ad3ef11e3191d65307e4982 100644
--- a/mojo/public/cpp/bindings/lib/message_header_validator.cc
+++ b/mojo/public/cpp/bindings/lib/message_header_validator.cc
@@ -64,7 +64,7 @@ bool IsValidMessageHeader(const internal::MessageHeader* header,
if (header->version < 2)
return true;
- auto header_v2 = static_cast<const internal::MessageHeaderV2*>(header);
+ auto* header_v2 = static_cast<const internal::MessageHeaderV2*>(header);
// For the payload pointer:
// - Check that the pointer can be safely decoded.
// - Claim one byte that the pointer points to. It makes sure not only the
« no previous file with comments | « mojo/public/cpp/bindings/lib/message.cc ('k') | net/cookies/cookie_monster.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698