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

Unified Diff: components/tracing/core/proto_zero_message.h

Issue 2670873002: Remove base's ALIGNOF/ALIGNAS in favor of alignof/alignas. (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
Index: components/tracing/core/proto_zero_message.h
diff --git a/components/tracing/core/proto_zero_message.h b/components/tracing/core/proto_zero_message.h
index 2e6bf4a1c3eba27ff037b41aa94114e5fe62ce85..ac005ec3bd75026208c48ad6a52f009521aff91b 100644
--- a/components/tracing/core/proto_zero_message.h
+++ b/components/tracing/core/proto_zero_message.h
@@ -199,7 +199,7 @@ class TRACING_EXPORT ProtoZeroMessage {
// the arena are meaningful only for the root message. The static_assert in
// the .cc file guarantees that the sizeof(nested_messages_arena_) is enough
// to contain up to kMaxNestingDepth messages.
- ALIGNAS(sizeof(void*)) uint8_t nested_messages_arena_[512];
+ alignas(sizeof(void*)) uint8_t nested_messages_arena_[512];
// DO NOT add any fields below |nested_messages_arena_|. The memory layout of
// nested messages would overflow the storage allocated by the root message.
« no previous file with comments | « cc/raster/texture_compressor_etc1_sse.cc ('k') | content/browser/renderer_host/media/audio_input_sync_writer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698